Skip to content

Commit 68ecc4a

Browse files
author
Michael Brewer
committed
feat(toml): Move pytest config to toml
1 parent 7b43f5f commit 68ecc4a

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,16 @@ exclude = '''
114114
)
115115
'''
116116

117+
[tool.pytest.ini_options]
118+
minversion = "6.0"
119+
addopts = "-ra -vv"
120+
testpaths = "./tests"
121+
markers = "perf: marks perf tests to be deselected (deselect with '-m \"not perf\"')"
122+
117123
[build-system]
118124
requires = ["poetry>=0.12"]
119125
build-backend = "poetry.masonry.api"
120126

121127
# NOTE
122-
# As of now, Feb 2020, flake8 and pytest don't support pyproject
128+
# As of now, Feb 2020, flake8 don't support pyproject
123129
# For latest: https://github.com/flying-sheep/awesome-python-packaging

pytest.ini

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)