Skip to content

Commit

Permalink
Remove unused coverage settings
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Apr 16, 2024
1 parent ecca45c commit 9232794
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
3 changes: 1 addition & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ def lint(session):
@nox.session(python=["3.9", "3.10", "3.11", "3.12"])
def test(session):
session.install("-e", ".[test]", silent=True)
args = session.posargs or ("--cov-report", "term", "--cov", "sphinx_autobuild")
session.run("pytest", *args)
session.run("pytest", *session.posargs)


@nox.session(reuse_venv=True)
Expand Down
20 changes: 1 addition & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ dynamic = ["version"]
[project.optional-dependencies]
docs = []
test = [
"pytest>=6.0",
"pytest-cov",
"pytest>=6",
]

[[project.authors]]
Expand All @@ -77,20 +76,3 @@ include = [
"tests/",
"noxfile.py",
]

[tool.coverage.run]
branch = true
omit = [
"*/conftest.py",
"docs/*",
]

[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"NOCOV",
"if __name__ == .__main__.:"
]

[tool.coverage.html]
directory = ".htmlcov"

0 comments on commit 9232794

Please sign in to comment.