-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
103 lines (93 loc) · 1.71 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| .*migrations.*
| versioneer.py
)
)
'''
[tool.coverage.run]
include = [
'boundlexx/*',
]
omit = [
'*migrations*',
'*tests*',
]
plugins = [
'django_coverage_plugin',
]
[tool.isort]
line_length = 88
multi_line_output = 3
include_trailing_comma = true
sections = [
"FUTURE",
"STDLIB",
"THIRDPARTY",
"FIRSTPARTY",
"LOCALFOLDER",
]
skip_glob = [
".tox",
".git",
"*/migrations/*",
"*/static/CACHE/*",
"docs",
"node_modules",
"manage.py",
"boundlexx/utils/backends.py",
]
[tool.pylint.master]
load-plugins = [
'pylint_django',
'pylint_celery'
]
[tool.pylint.format]
max-line = 88
[tool.pylint.messages_control]
disable = [
'too-few-public-methods',
'no-self-use',
'missing-docstring',
'invalid-name',
'bad-continuation',
'line-too-long',
'unused-argument',
'useless-super-delegation',
'duplicate-code',
'import-outside-toplevel',
'ungrouped-imports',
'too-many-ancestors',
]
[tool.pylint.design]
max-parents = 13
[tool.pylint.typecheck]
generated-members = [
'REQUEST',
'acl_users',
'aq_parent',
'[a-zA-Z]+_set{1,2}',
'save',
'delete',
]
[tool.pylint.django_foreign_keys_referenced_by_strings]
django-settings-module = 'config.settings.test'
[tool.pytest.ini_options]
addopts = "--ds=config.settings.test --reuse-db --create-db --cov-report xml --cov-report term:skip-covered --cov=boundlexx"
python_files = "tests.py test_*.py"
env_override_existing_values = 1
env_files= '.test.env'