Skip to content

Commit

Permalink
add coverage.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
tshyun24 committed Feb 1, 2024
1 parent be53709 commit b39daff
Show file tree
Hide file tree
Showing 4 changed files with 173 additions and 1 deletion.
45 changes: 44 additions & 1 deletion jobs/email-reminder/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,49 @@ exclude-protected = ["_asdict", "_fields", "_replace", "_source", "_make", "os._
valid-classmethod-first-arg = ["cls"]
valid-metaclass-classmethod-first-arg = ["mcs"]

[tool.pytest.ini_options]
minversion = "2.0"
testpaths = [
"tests",
]
addopts = "--verbose --strict -p no:warnings --cov=. --cov-report html:htmlcov --cov-report xml:coverage.xml"
python_files = [
"test*.py"
]
norecursedirs = [
".git", ".tox", "venv*", "requirements*", "build",
]
log_cli = true
log_cli_level = "1"
filterwarnings = [
"ignore::UserWarning"
]
markers = [
"slow",
"serial",
]

[tool.coverage.run]
branch = true
source = [
".",
]
omit = []

[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"from",
"import",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
'if __name__ == "__main__":',
]

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
build-backend = "poetry.core.masonry.api"
43 changes: 43 additions & 0 deletions jobs/future-effective-filings/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,49 @@ exclude-protected = ["_asdict", "_fields", "_replace", "_source", "_make", "os._
valid-classmethod-first-arg = ["cls"]
valid-metaclass-classmethod-first-arg = ["mcs"]

[tool.pytest.ini_options]
minversion = "2.0"
testpaths = [
"tests",
]
addopts = "--verbose --strict -p no:warnings --cov=. --cov-report html:htmlcov --cov-report xml:coverage.xml"
python_files = [
"test*.py"
]
norecursedirs = [
".git", ".tox", "venv*", "requirements*", "build",
]
log_cli = true
log_cli_level = "1"
filterwarnings = [
"ignore::UserWarning"
]
markers = [
"slow",
"serial",
]

[tool.coverage.run]
branch = true
source = [
".",
]
omit = []

[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"from",
"import",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
'if __name__ == "__main__":',
]

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
43 changes: 43 additions & 0 deletions jobs/update-colin-filings/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,49 @@ exclude-protected = ["_asdict", "_fields", "_replace", "_source", "_make", "os._
valid-classmethod-first-arg = ["cls"]
valid-metaclass-classmethod-first-arg = ["mcs"]

[tool.pytest.ini_options]
minversion = "2.0"
testpaths = [
"tests",
]
addopts = "--verbose --strict -p no:warnings --cov=. --cov-report html:htmlcov --cov-report xml:coverage.xml"
python_files = [
"test*.py"
]
norecursedirs = [
".git", ".tox", "venv*", "requirements*", "build",
]
log_cli = true
log_cli_level = "1"
filterwarnings = [
"ignore::UserWarning"
]
markers = [
"slow",
"serial",
]

[tool.coverage.run]
branch = true
source = [
".",
]
omit = []

[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"from",
"import",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
'if __name__ == "__main__":',
]

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
43 changes: 43 additions & 0 deletions jobs/update-legal-filings/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,49 @@ exclude-protected = ["_asdict", "_fields", "_replace", "_source", "_make", "os._
valid-classmethod-first-arg = ["cls"]
valid-metaclass-classmethod-first-arg = ["mcs"]

[tool.pytest.ini_options]
minversion = "2.0"
testpaths = [
"tests",
]
addopts = "--verbose --strict -p no:warnings --cov=. --cov-report html:htmlcov --cov-report xml:coverage.xml"
python_files = [
"test*.py"
]
norecursedirs = [
".git", ".tox", "venv*", "requirements*", "build",
]
log_cli = true
log_cli_level = "1"
filterwarnings = [
"ignore::UserWarning"
]
markers = [
"slow",
"serial",
]

[tool.coverage.run]
branch = true
source = [
".",
]
omit = []

[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"from",
"import",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
'if __name__ == "__main__":',
]

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

0 comments on commit b39daff

Please sign in to comment.