forked from ansible/molecule
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
56 lines (49 loc) · 1.42 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 = [
"pip >= 19.3.1",
"setuptools >= 42",
"setuptools_scm[toml] >= 3.5.0",
"setuptools_scm_git_archive >= 1.1",
"wheel >= 0.33.6",
]
build-backend = "setuptools.build_meta"
[tool.coverage.run]
source = ["src"]
branch = true
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"]
[tool.black]
skip-string-normalization = false
[tool.isort]
profile = "black"
known_first_party = "molecule"
[tool.pytest.ini_options]
markers = [
"serial: Run this test serially via filelock.",
"extensive: marks tests that we want to skip by default, as they are indirectly covered by other tests"
]
norecursedirs = [
".eggs",
".tox",
"build",
"dist",
"doc",
"src/molecule/cookiecutter/scenario",
"src/molecule/test/resources",
"src/molecule/test/scenarios",
]
addopts = "--doctest-modules --durations 10 --color=yes"
doctest_optionflags = ["ALLOW_UNICODE", "ELLIPSIS"]
junit_suite_name = "molecule_test_suite"
testpaths = "src/molecule/test/"
filterwarnings = [
# treat warnings as errors unless we add them below
"error",
# https://github.com/certifi/python-certifi/pull/193
"ignore:path is deprecated.*:DeprecationWarning",
# https://github.com/pytest-dev/pytest-cov/issues/557
"ignore:The --rsyncdir command line argument and rsyncdirs config variable are deprecated.:DeprecationWarning",
# ignore::UserWarning
]
[tool.setuptools_scm]
local_scheme = "no-local-version"