-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
72 lines (63 loc) · 1.71 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "flake8-warnings"
authors = [{ name = "Gram", email = "[email protected]" }]
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.6"
dynamic = ["version", "description"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Plugins",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Topic :: Software Development",
"Topic :: Software Development :: Quality Assurance",
]
keywords = [
"deprecation",
"flake8",
"pylint",
"warnings",
"linter",
"flakehell",
]
dependencies = ["astroid>=3.0.0"]
[project.optional-dependencies]
test = ["pytest"]
lint = [
"flake8", # linter
"flake8-length", # allow long strings
"mypy", # type checker
"isort", # sort imports
"unify", # use single quotes everywhere
]
[project.entry-points."flake8.extension"]
WS0 = "flake8_warnings:Flake8Checker"
[project.urls]
Source = "https://github.com/orsinium-labs/flake8-warnings"
[tool.flit.module]
name = "flake8_warnings"
[tool.mypy]
files = ["flake8_warnings", "tests"]
python_version = 3.7
ignore_missing_imports = true
# follow_imports = "silent"
show_error_codes = true
allow_redefinition = true
# Settings making mypy checks harder.
# If something here produces too many false-positives,
# consider turning it off.
check_untyped_defs = true
no_implicit_optional = true
strict_equality = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_ignores = true
[tool.isort]
profile = "django"
lines_after_imports = 2
skip = ".venvs/"