Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
# Conflicts:
#	.coveragerc
  • Loading branch information
jaraco committed Feb 23, 2023
2 parents c8df3d7 + 56cdf46 commit 8772261
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ omit =
*/_itertools.py
exercises.py
*/pip-run-*
disable_warnings =
couldnt-parse

[report]
show_missing = True
14 changes: 13 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[pytest]
norecursedirs=dist build .tox .eggs
addopts=--doctest-modules
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
filterwarnings=
## upstream

# Ensure ResourceWarnings are emitted
default::ResourceWarning

Expand All @@ -18,3 +19,14 @@ 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

# python/cpython#100750
ignore:'encoding' argument not specified::platform

## end upstream
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@ toxworkdir={env:TOX_WORK_DIR:.tox}

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


[testenv:docs]
Expand Down

0 comments on commit 8772261

Please sign in to comment.