Skip to content

Commit

Permalink
Use [tool:pytest] in setup.cfg
Browse files Browse the repository at this point in the history
The [pytest] section was deprecated in pytest 3.0 and removed in pytest 4.1.
  • Loading branch information
mgedmin committed Jan 7, 2019
1 parent 24565f2 commit 7b1398d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ignore = E121,E123,E126,E133,E226,E241,E242,E704,E501,E301,E261,E127,E128,W391,W
# These were added because I need to break a rule for reasons
# - E402: module level import not at top of file

[pytest]
[tool:pytest]
norecursedirs = .* *.egg-info dist build tmp scripts
python_files = tests.py
python_functions = !test_suite
Expand Down

0 comments on commit 7b1398d

Please sign in to comment.