Skip to content

Commit

Permalink
Merge pull request #76 from scottwernervt/73/feature/pytest-pyproject…
Browse files Browse the repository at this point in the history
…-toml

Move pytest config from setup.cfg to pyproject.toml.
  • Loading branch information
scottwernervt committed Jan 21, 2021
2 parents fd7651b + bc2912b commit 79935f7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
18 changes: 18 additions & 0 deletions pyproject.toml
Expand Up @@ -2,6 +2,24 @@
requires = ["setuptools>=35.0.2", "wheel>=0.29.0"]
build-backend = "setuptools.build_meta"

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-v --tb=short"
norecursedirs = [
".eggs",
".git",
".pytest_cache",
".tox",
"build",
"dist",
"docs",
"env",
"venv",
]
testpaths = [
"tests",
]

[tool.tox]
legacy_tox_ini = """
[tox]
Expand Down
13 changes: 0 additions & 13 deletions setup.cfg
Expand Up @@ -21,16 +21,3 @@ ignore_missing_imports = true
warn_unreachable = true
warn_unused_ignores = true
warn_redundant_casts = true

[tool:pytest]
norecursedirs =
.eggs
.git
.pytest_cache
.tox
build
dist
docs
env
venv
addopts = -v --tb=short

0 comments on commit 79935f7

Please sign in to comment.