File tree Expand file tree Collapse file tree 3 files changed +26
-20
lines changed Expand file tree Collapse file tree 3 files changed +26
-20
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ $ pipx install --suffix=@next 'tmuxp' --pip-args '\--pre' --force
3535 - 0.15.6 (#823 , pytest fixes, packaging improvements)
3636 - 0.15.3 (#821 , pytest plugin improvements, root-level
3737 conftest.py)
38+ - Move ` .coveragerc ` -> ` pyproject.toml ` (#824 )
3839
3940### Packaging
4041
Original file line number Diff line number Diff line change @@ -119,9 +119,27 @@ lint = [
119119 " types-docutils" ,
120120]
121121
122- [build-system ]
123- requires = [" poetry_core>=1.0.0" ]
124- build-backend = " poetry.core.masonry.api"
122+ [tool .coverage .run ]
123+ branch = true
124+ source = [
125+ " tmuxp" ,
126+ ]
127+ omit = [
128+ " tests/*" ,
129+ " */_vendor/*" ,
130+ " */_*" ,
131+ " pkg/*" ,
132+ " */log.py" ,
133+ ]
134+
135+ [tool .coverage .report ]
136+ exclude_lines = [
137+ " pragma: no cover" ,
138+ " def __repr__" ,
139+ " raise NotImplementedError" ,
140+ " if __name__ == .__main__.:" ,
141+ " def parse_args" ,
142+ ]
125143
126144[[tool .mypy .overrides ]]
127145module = [
@@ -134,3 +152,7 @@ module = [
134152 " bpython" ,
135153]
136154ignore_missing_imports = true
155+
156+ [build-system ]
157+ requires = [" poetry_core>=1.0.0" ]
158+ build-backend = " poetry.core.masonry.api"
You can’t perform that action at this time.
0 commit comments