Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jan 28, 2023
2 parents ac28afe + 0d9c6f0 commit 0223c71
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 6 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[pytest]
norecursedirs=dist build .tox .eggs
addopts=--doctest-modules
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
filterwarnings=
# Ensure ResourceWarnings are emitted
default::ResourceWarning
Expand All @@ -18,3 +17,9 @@ filterwarnings=
ignore:<class 'pytest_flake8.Flake8Item'> is not using a cooperative constructor:pytest.PytestDeprecationWarning
ignore:The \(fspath. py.path.local\) argument to Flake8Item is deprecated.:pytest.PytestDeprecationWarning
ignore:Flake8Item is an Item subclass and should not be a collector:pytest.PytestWarning

# shopkeep/pytest-black#67
ignore:'encoding' argument not specified::pytest_black

# realpython/pytest-mypy#152
ignore:'encoding' argument not specified::pytest_mypy
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ toxworkdir={env:TOX_WORK_DIR:.tox}

[testenv]
deps =
setenv =
PYTHONWARNDEFAULTENCODING = 1
commands =
pytest {posargs}
usedevelop = True
extras = testing
extras =
testing

[testenv:docs]
extras =
Expand Down

0 comments on commit 0223c71

Please sign in to comment.