Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .coveragerc

This file was deleted.

1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ $ pipx install --suffix=@next 'tmuxp' --pip-args '\--pre' --force
- 0.15.6 (#823, pytest fixes, packaging improvements)
- 0.15.3 (#821, pytest plugin improvements, root-level
conftest.py)
- Move `.coveragerc` -> `pyproject.toml` (#824)

### Packaging

Expand Down
28 changes: 25 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,27 @@ lint = [
"types-docutils",
]

[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
branch = true
source = [
"tmuxp",
]
omit = [
"tests/*",
"*/_vendor/*",
"*/_*",
"pkg/*",
"*/log.py",
]

[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"def parse_args",
]

[[tool.mypy.overrides]]
module = [
Expand All @@ -134,3 +152,7 @@ module = [
"bpython",
]
ignore_missing_imports = true

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