-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.cfg
69 lines (56 loc) · 1.17 KB
/
setup.cfg
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
[flake8]
exclude =
docs
.git
.tox
__pycache__
max-complexity = 8
accept-encodings = utf-8
max-line-length = 100
ignore =
# These are real false positives
# comparison to None should be 'if cond is not None:'
E711,
# Use of assert detected
S101,
# line break before binary operator
W503,
# FIXME later
F401
# Adapt to your tastes
# ignore = E203,F401,E711,E712,W503,E741,B902,E501,TC003,E731
banned-modules =
six = "We're Py3k only now !"
[isort]
profile = black
[mypy]
ignore_missing_imports = True
warn_redundant_casts = True
warn_no_return = True
strict_optional = True
warn_unused_ignores = True
[importlinter]
root_packages =
nua.lib
nua.build
nua.orchestrator
nua_cli
nua.agent
include_external_packages = True
[importlinter:contract:1]
name = Don't call nua-agent from nua-build, nua-orchestrator, nua-cli
type = forbidden
forbidden_modules =
nua.agent
source_modules =
nua.build
nua_cli
nua.orchestrator
[importlinter:contract:2]
name = Don't call nua-build from nua-orchestrator, nua-cli
type = forbidden
forbidden_modules =
nua.build
source_modules =
nua.orchestrator
nua_cli