Skip to content

Commit

Permalink
Updated pyproject file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed Jul 29, 2023
1 parent f65b3ce commit 175dfa9
Showing 1 changed file with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,36 +1,55 @@
[build-system]
requires = [
"pyTooling >= 5.0.0",
"setuptools >= 68.0.0",
"wheel >= 0.40.0"
"setuptools >= 68.0.0",
"wheel >= 0.40.0",
"pyTooling >= 5.0.0"
]
build-backend = "setuptools.build_meta"

[tool.black]
line-length = 120

[tool.mypy]
python_version = "3.11"
namespace_packages = true

pretty = true
show_error_context = true

html_report = "report/typing"

[tool.pytest.ini_options]
# Don't set 'python_classes = *' otherwise, pytest doesn't search for classes
# derived from unittest.Testcase
python_files = "*"
python_functions = "test_*"
filterwarnings = [
"error::DeprecationWarning",
"error::PendingDeprecationWarning"
]

[tool.coverage.run]
branch = true
omit = [
"*site-packages*",
"setup.py"
"setup.py",
"tests/*"
]

[tool.coverage.report]
skip_covered = true
skip_covered = false
skip_empty = true
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError"
]
omit = [
"tests/*"
]

[tool.coverage.html]
directory = "report/coverage/html"
title="Code Coverage of pyEDAA.OutputFilter"

[tool.coverage.xml]
output = "report/coverage/coverage.xml"

0 comments on commit 175dfa9

Please sign in to comment.