Skip to content

Commit

Permalink
[REF] tox.ini: Add compatibility with new pyttest
Browse files Browse the repository at this point in the history
  • Loading branch information
moylop260 committed Nov 4, 2024
1 parent eb36b0c commit ef62e9a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ source = src
[run]
source = src
parallel = true
dynamic_context = test_function
context = ${{COVERAGE_CONTEXT}}

[report]
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build-system]
requires = ["setuptools >=42"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length=119
skip-string-normalization=false
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ passenv =
deps = -r{toxinidir}/test-requirements.txt
usedevelop = true
commands =
pytest --cov-append -s --cov --cov-report=term-missing --cov-report=html -vv {posargs:}
pytest --cov-append -s --cov --cov-report=term-missing --cov-report=html --cov-context=test -vv {posargs:}

[testenv:lint]
# skip_install = true
Expand Down

0 comments on commit ef62e9a

Please sign in to comment.