Last active
March 20, 2024 16:35
-
-
Save nilreml/987dafe8ca35e1a39da4fecf074d18b6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Best practice pyproject.toml: | |
# https://github.com/airbytehq/airbyte/blob/master/airbyte-lib/pyproject.toml | |
[tool.coverage.run] | |
include = ["src/*"] | |
parallel = true | |
branch = true | |
[tool.coverage.paths] | |
source = ["src/"] | |
[tool.coverage.report] | |
skip_covered = true | |
show_missing = true | |
exclude_lines = [ | |
'^\s*@overload( |$)', | |
'^\s*assert False(,|$)', | |
'if TYPE_CHECKING:', | |
'if typing.TYPE_CHECKING:', | |
] | |
[tool.coverage.run] | |
relative_files = true | |
[tool.coverage.report] | |
exclude_lines = [ | |
"@deprecated", | |
"def __repr__", | |
"if 0:", | |
"if TYPE_CHECKING:", | |
"if __name__ == .__main__.:", | |
"if self.debug:", | |
"if settings.DEBUG", | |
"input", | |
"pragma: no cover", | |
"raise AssertionError", | |
"raise NotImplementedError", | |
] | |
[tool.codespell] | |
ignore-words-list = "ot,atomate" | |
check-filenames = true | |
[tool.poetry.scripts] | |
generate-docs = "docs:run" | |
airbyte-lib-validate-source = "airbyte_lib.validate:run" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment