Skip to content

Commit

Permalink
Merge pull request #224 from blueyed/pytest-config
Browse files Browse the repository at this point in the history
tests: cleanup pytest config
  • Loading branch information
ionelmc authored Jan 7, 2019
2 parents 452ecfd + f538ece commit f701885
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,11 @@ max-line-length = 140
exclude = tests/*,*/migrations/*,*/south_migrations/*

[tool:pytest]
# using the deprecated name instead of [tool:pytest] cause we test with older pytest versions
norecursedirs =
.git
.tox
.env
venv
dist
build
south_migrations
migrations
example
python_files =
test_*.py
*_test.py
tests.py
testpaths = tests
python_files = test_*.py
addopts =
-rxEfsw
-ra
--strict
--ignore=docs/conf.py
--ignore=setup.py
--ignore=src
--ignore=ci
--ignore=.eggs
--doctest-modules
--doctest-glob=\*.rst
--tb=short
-p pytester

Expand Down

0 comments on commit f701885

Please sign in to comment.