-
Notifications
You must be signed in to change notification settings - Fork 137
/
pyproject.toml
59 lines (52 loc) · 1.06 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
[tool.black]
line-length = 80
exclude = '''
(
/(
\.eggs
| \.git
| \.github
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| ci
| dist
| migrations
| testproject
| venv
)/
)
'''
[tool.codespell]
skip = 'migrations,vendor,_build,*.css.map,*.jpg,*.png,*.pyc'
ignore-words-list = 'assertIn'
[tool.django-stubs]
django_settings_module = "coderedcms.tests.settings"
[tool.mypy]
ignore_missing_imports = true
plugins = ["mypy_django_plugin.main"]
exclude = [
'^\..*',
'migrations',
'node_modules',
'venv',
'testproject',
]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "coderedcms.tests.settings"
addopts = "--cov --cov-report html --cov-report xml --junitxml junit/test-results.xml"
python_files = "tests.py test_*.py"
junit_family = "xunit2"
junit_suite_name = "coderedcms"
[tool.ruff]
extend-exclude = ["migrations", "testproject"]
line-length = 80
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.isort]
case-sensitive = false
force-single-line = true
lines-after-imports = 2