Skip to content

Commit

Permalink
Check no relative
Browse files Browse the repository at this point in the history
Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
  • Loading branch information
gaborbernat committed Jan 2, 2023
1 parent c1b0545 commit 3e063f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
13 changes: 3 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies = [
]
optional-dependencies.test = [
"covdefaults>=2.2.2",
"coverage>=7.0.1",
"coverage>=7.0.2",
"coverage-enable-subprocess>=1",
"flaky>=3.7",
"packaging>=22",
Expand Down Expand Up @@ -103,15 +103,8 @@ report.omit = [
"src/virtualenv/activation/python/activate_this.py",
"src/virtualenv/seed/wheels/embed/pip-*.whl/*",
]
paths.source = [
"src",
".tox/*/lib/*/site-packages", # pypy3.8 + cpython
".tox/*/site-packages", # pypy3.7
".tox\\*\\Lib\\site-packages", # pypy3.8 + cpython
".tox\\*\\site-packages", # pypy3.7
]
paths.other = [".", "*/virtualenv", "*\\virtualenv"]
report.fail_under = 10
paths.source = ["src", "**/site-packages"]
report.fail_under = 76
run.source = ["${_COVERAGE_SRC}", "tests"]
run.dynamic_context = "test_function"
run.parallel = true
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ extras =
test
commands =
coverage erase
coverage run -m pytest {posargs:--junitxml {toxworkdir}/junit.{envname}.xml tests/unit/config --int}
coverage run -m pytest {posargs:--junitxml {toxworkdir}/junit.{envname}.xml tests --int}
coverage combine
coverage report --skip-covered --show-missing
coverage xml -o {toxworkdir}/coverage.{envname}.xml
Expand Down

0 comments on commit 3e063f7

Please sign in to comment.