-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
56 lines (50 loc) · 1.01 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
[build-system]
requires = ["setuptools>=30.3.0", "wheel", "setuptools_scm"]
[tool.pytest.ini_options]
testpaths = "modeemintternet"
addopts = "--cov modeemintternet --cov-append --cov-branch --cov-report term-missing --cov-report xml"
python_files = "test*.py tests*.py *test.py *tests.py"
DJANGO_SETTINGS_MODULE = "config.settings.test"
[tool.pylint.MAIN]
load-plugins = "pylint_django"
django-settings-module = "config.settings.local"
[tool.black]
line-length = 88
target-version = ['py312']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs
| \.git
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
| migrations
)/
)
'''
[tool.tox]
legacy_tox_ini = """
[tox]
skipsdist = True
envlist =
py312
[gh-actions]
python =
3.12: py312
# Normal test environment runs pytest which orchestrates other tools
[testenv]
usedevelop = true
deps =
-r requirements.txt
commands =
pytest
prospector
mypy modeemintternet
black --check --diff .
setenv =
PYTHONDONTWRITEBYTECODE=1
"""