Skip to content

Commit 75e4047

Browse files
committed
V5.0.1
1 parent ad35d13 commit 75e4047

File tree

2 files changed

+22
-17
lines changed

2 files changed

+22
-17
lines changed

.github/workflows/workflow.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,10 @@ jobs:
5353
- name: Upload coverage to Codecov
5454
if: matrix.python-version == '3.13' && matrix.os == 'ubuntu-latest'
5555
uses: codecov/codecov-action@v5
56-
with:
57-
token: ${{ secrets.CODECOV_TOKEN }}
58-
slug: ddc/pythonLogs
5956

6057
- name: Upload test results to Codecov
6158
if: matrix.python-version == '3.13' && matrix.os == 'ubuntu-latest'
6259
uses: codecov/test-results-action@v1
63-
with:
64-
token: ${{ secrets.CODECOV_TOKEN }}
65-
slug: ddc/pythonLogs
6660

6761

6862
build:

pyproject.toml

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,26 +49,37 @@ pytest = "^8.4.1"
4949
pytest-cov = "^6.2.1"
5050

5151
[tool.poe.tasks]
52-
_test = "python -m pytest -v --cov=pythonLogs --cov-report=term --cov-report=xml --junitxml=junit.xml -o junit_family=legacy"
52+
_test = "python -m pytest -v --cov --cov-report=term --cov-report=xml --junitxml=junit.xml -o junit_family=legacy"
5353
tests = ["_test"]
5454
test = ["tests"]
5555

56-
[tool.black]
57-
line-length = 120
58-
skip-string-normalization = true
59-
60-
[tool.pytest.ini_options]
61-
markers = [
62-
"slow: marks tests as slow (deselect with '-m \"not slow\"')"
63-
]
64-
6556
[tool.coverage.run]
6657
omit = [
67-
"build.py",
6858
"tests/*",
59+
"*/__init__.py",
6960
]
7061

7162
[tool.coverage.report]
7263
exclude_lines = [
7364
"pragma: no cover",
65+
"def __repr__",
66+
"if self.debug:",
67+
"if settings.DEBUG",
68+
"raise AssertionError",
69+
"raise NotImplementedError",
70+
"if 0:",
71+
"if __name__ == .__main__.:",
72+
"class .*\\bProtocol\\):",
73+
"@(abc\\.)?abstractmethod",
7474
]
75+
show_missing = false
76+
skip_covered = false
77+
78+
[tool.pytest.ini_options]
79+
markers = [
80+
"slow: marks tests as slow (deselect with '-m \"not slow\"')"
81+
]
82+
83+
[tool.black]
84+
line-length = 120
85+
skip-string-normalization = true

0 commit comments

Comments
 (0)