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

Move tool configs to pyproject.toml #588

Merged
merged 1 commit into from Apr 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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