Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit a6fe422

Browse files
authored
Move tool configs to pyproject.toml (#588)
1 parent 50894da commit a6fe422

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

pyproject.toml

+8
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,11 @@ line_length = 79
1212
ignore_missing_imports = true
1313
strict_optional = true
1414
disallow_incomplete_defs = true
15+
16+
[tool.pytest.ini_options]
17+
norecursedirs = ["docs", ".tox"]
18+
addopts = """
19+
-vv
20+
-rw
21+
--cache-clear
22+
"""

tox.ini

+1-9
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ setenv =
1515
LANG=en_US.UTF-8
1616
# To pass arguments to pytest, use `tox [options] -- [pytest posargs]`.
1717
commands =
18-
pytest --cache-clear -vv src/tests {posargs}
18+
pytest src/tests {posargs}
1919
mypy src/
2020
black --check src/pydocstyle
2121
isort --check src/pydocstyle
@@ -65,11 +65,3 @@ commands = {[testenv:install]commands}
6565
skip_install = {[testenv:install]skip_install}
6666
commands = {[testenv:install]commands}
6767

68-
[pytest]
69-
norecursedirs = docs .tox
70-
addopts = -rw
71-
72-
[pep257]
73-
inherit = false
74-
convention = pep257
75-
add-select = D404

0 commit comments

Comments
 (0)