diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ca66e3280..0f9242841 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.14.2" + rev: "v2.15.1" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/uv-pre-commit diff --git a/pyproject.toml b/pyproject.toml index da2676936..945a1c7b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -103,15 +103,15 @@ ini_options.addopts = "-v -Wdefault --cov=deezer" ini_options.pythonpath = [ "src" ] [tool.coverage] -report.ignore_errors = true +run.branch = true +run.source = [ "deezer" ] report.exclude_lines = [ - "pragma: no cover", "@overload", "if TYPE_CHECKING", + "pragma: no cover", "raise NotImplementedError", ] -run.branch = true -run.source = [ "deezer" ] +report.ignore_errors = true [tool.semantic_release] version_toml = [ "pyproject.toml:project.version" ]