forked from canonical/maas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
55 lines (52 loc) · 997 Bytes
/
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
[build-system]
# With setuptools 50.0.0, 'make .ve' fails.
requires = ["setuptools < 50.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 79
exclude = """
/.egg
/.git
/.mypy_cache
/.ve
/build
/dist
/parts
/snap
/src/maasui
/src/maas-offline-docs
"""
[tool.isort]
from_first = false
force_sort_within_sections = true
profile = "black"
line_length = 79
known_first_party = """
apiclient
maascli
maasserver
maastesting
metadataserver
provisioningserver
snippets
"""
order_by_type = false
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "maasserver.djangosettings.development"
filterwarnings = "error::BytesWarning"
testpaths = [
"src/apiclient",
"src/maascli",
"src/maastesting",
# [[[cog
# import cog
# from pathlib import Path
# for path in sorted(Path("src").glob("**/pytest_tests")):
# cog.outl(f'"{path}",')
# ]]]
"src/maasserver/models/pytest_tests",
# [[[end]]]
]
markers = [
"perftest: marks tests for performance testing"
]