-
Notifications
You must be signed in to change notification settings - Fork 40
/
pyproject.toml
54 lines (50 loc) · 865 Bytes
/
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
[tool.ruff]
target-version = "py38"
select = [
"I", # isort
"UP", # pyupgrade
"F", # pyflakes
"E", # pycodestyle
"B", # flake8-bugbear
"A", # flake8-builtins
"C4", # flake8-comprehensions
"PT", # flake8-pytest-style
"N", # pep8-naming
]
ignore = [
"E501" # Let black handle line length
]
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \venv
| _build
| buck-out
| build
| dist
)/
| foo.py
)
'''
[tool.mypy]
disallow_untyped_defs = true
disallow_any_unimported = true
no_implicit_optional = true
check_untyped_defs = true
warn_unused_ignores = true
show_error_codes = true
namespace_packages = true
[[tool.mypy.overrides]]
module = [
"aioping"
]
ignore_missing_imports = true