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

Commit

Permalink
Move tool configs to pyproject.toml (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Pepe committed Apr 5, 2022
1 parent 50894da commit a6fe422
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 8 additions & 0 deletions pyproject.toml
Expand Up @@ -12,3 +12,11 @@ line_length = 79
ignore_missing_imports = true
strict_optional = true
disallow_incomplete_defs = true

[tool.pytest.ini_options]
norecursedirs = ["docs", ".tox"]
addopts = """
-vv
-rw
--cache-clear
"""
10 changes: 1 addition & 9 deletions tox.ini
Expand Up @@ -15,7 +15,7 @@ setenv =
LANG=en_US.UTF-8
# To pass arguments to pytest, use `tox [options] -- [pytest posargs]`.
commands =
pytest --cache-clear -vv src/tests {posargs}
pytest src/tests {posargs}
mypy src/
black --check src/pydocstyle
isort --check src/pydocstyle
Expand Down Expand Up @@ -65,11 +65,3 @@ commands = {[testenv:install]commands}
skip_install = {[testenv:install]skip_install}
commands = {[testenv:install]commands}

[pytest]
norecursedirs = docs .tox
addopts = -rw

[pep257]
inherit = false
convention = pep257
add-select = D404

0 comments on commit a6fe422

Please sign in to comment.