Added dummy Python project to test the pipeline.

This commit is contained in:
Patrick Lehmann
2023-10-02 18:55:07 +02:00
parent 316eaa115e
commit 3cb8ca83a4
7 changed files with 371 additions and 0 deletions

60
pyproject.toml Normal file
View File

@@ -0,0 +1,60 @@
[build-system]
requires = [
"setuptools >= 68.0.0",
"wheel >= 0.40.0",
"pyTooling >= 5.0.0"
]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 120
[tool.mypy]
files = ["pyDummy"]
python_version = "3.11"
#ignore_missing_imports = true
strict = true
pretty = true
show_error_context = true
show_error_codes = true
namespace_packages = 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",
"tests/*"
]
[tool.coverage.report]
skip_covered = false
skip_empty = true
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError"
]
omit = [
"tests/*"
]
[tool.coverage.xml]
output = "report/coverage/coverage.xml"
[tool.coverage.json]
output = "report/coverage/coverage.json"
[tool.coverage.html]
directory = "report/coverage/html"
title="Code Coverage of pyDummy"