-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
43 lines (38 loc) · 1.02 KB
/
Copy pathsetup.cfg
File metadata and controls
43 lines (38 loc) · 1.02 KB
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
[flake8]
max-line-length = 88
extend-ignore = E203,W503,E501,F401,E402,E722,B001,F841,B007,B014,F541
exclude = .git,__pycache__,.pytest_cache,.coverage,htmlcov,venv,build,dist,*.egg-info
per-file-ignores =
tests/*:F401,F811
setup.py:F401,E402
main.py:E402
syspilot/main.py:E402
*/__init__.py:F401
[isort]
profile = black
multi_line_output = 3
line_length = 88
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
[mypy]
python_version = 3.8
# Gradual adoption settings - less strict for now
warn_return_any = false
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = false
disallow_untyped_decorators = false
no_implicit_optional = false
warn_redundant_casts = false
warn_unused_ignores = false
warn_no_return = false
warn_unreachable = false
strict_equality = false
show_error_codes = true
# Only check for basic type errors
ignore_missing_imports = true
[mypy-tests.*]
disallow_untyped_defs = false