-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
47 lines (37 loc) · 1.26 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
[tool.bandit]
silent = true
[tool.black]
quiet = true
check = true
[tool.flake8]
max-line-length = 58
select = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z' ]
ignore = ['E501', 'W503', 'W505', 'E402', 'E203', 'B404', 'EXE001']
# E501 Line too long (pycodestyle)
# W503 Line break occurred before a binary operator (pycodestyle)
# W505 doc line too long (82 > 79 characters)
# E402 Module level import not at top of file (pycodestyle)
# E203 Whitespace before ':' (pycodestyle)
# B404 bandit: sec implications of subprocess module
# EXE001: Shebang is present but the file is not executable
# Do not complain about imported modules that do not have type annotations
ignore_missing_imports = true
unused_arguments_ignore_abstract_functions = true
unused_arguments_ignore_stub_functions = true
noqa_require_code = true
os-mkdir-mode = 0o444
# os_mkfifo_mode = 0o640
# os_mknod_mode = 0o640
[tool.isort]
profile = "black"
known_first_party = ["twmn", "twmn_helpers", "cds", "canvas"]
[tool.mypy]
# cache_dir = "/tmp/mypy"
show_traceback = true
local_partial_types = true
explicit_package_bases = true
strict = true
pretty = true
show_error_codes = true
show_error_context = true
[tool.pydocstyle]