[tool.pytest.ini_options] testpaths = ["tests"] python_files = ["test_*.py"] python_functions = ["test_*"] [tool.coverage.run] source = ["factsdb"] omit = ["tests/*", "factsdb/__main__.py", "factsdb/main.py", "factsdb/cli.py", "factsdb/__init__.py"] [tool.coverage.report] show_missing = true fail_under = 90 exclude_lines = [ "pragma: no cover", "if __name__ == .__main__.:", "raise NotImplementedError", "pass", ]