diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index 555492e..0000000 --- a/.coveragerc +++ /dev/null @@ -1,7 +0,0 @@ -# Configuration for coverage.py -[run] -omit = - tests/* - */__init__.py -source = - autohooks diff --git a/pyproject.toml b/pyproject.toml index 41773ae..53fda6a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -95,6 +95,10 @@ files = "autohooks" ignore_missing_imports = true explicit_package_bases = true +[tool.coverage.run] +omit = ["tests/*", "*/__init__.py"] +source = ["autohooks"] + [tool.ruff] line-length = 80 target-version = "py39"