-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathformatters-cfg.toml
More file actions
44 lines (40 loc) · 828 Bytes
/
Copy pathformatters-cfg.toml
File metadata and controls
44 lines (40 loc) · 828 Bytes
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
[tool.black]
line-length = 120
extend-exclude = """
/(
| build
| dist
| .poetry
)/
"""
target-version = ["py310"]
[tool.flake8]
inline-quotes = "double"
ignore = "E203, W503, S101, D100, D104"
max-line-length = 120
docstring-convention = "google"
extend-exclude = ".venv, build, dist, migrations, .poetry"
per-file-ignores = [
"tests/*: D"
]
[tool.isort]
profile = "black"
default_section = "THIRDPARTY"
force_single_line = true
line_length = 120
use_parentheses = true
py_version=310
[tool.mypy]
ignore_missing_imports = true
follow_imports = "silent"
warn_redundant_casts = true
warn_unused_ignores = false
check_untyped_defs = true
no_implicit_reexport = true
show_error_codes = true
exclude = """
(^|/)(\\.venv|build|dist|migrations|\\.poetry)(/|$)
"""
[bandit]
exclude = "tests, .poetry"
skips = "B101, B601"