File tree Expand file tree Collapse file tree 4 files changed +23
-6
lines changed Expand file tree Collapse file tree 4 files changed +23
-6
lines changed Original file line number Diff line number Diff line change 11# Changes here will be overwritten by Copier
2- _commit : 711106c
2+ _commit : b6c112c
33_src_path : .
44add_extension : python
5- email : t.paine154@gmail .com
5+ email : 3105306+timkpaine@users.noreply.github .com
66github : python-project-templates
77project_description : A pure-python project template
88project_name : python template
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
5555## Enforcement
5656
5757Instances of abusive, harassing, or otherwise unacceptable behavior may be
58- reported by contacting the project team at t.paine154@gmail .com . All
58+ reported by contacting the project team at 3105306+timkpaine@users.noreply.github .com . All
5959complaints will be reviewed and investigated and will result in a response that
6060is deemed necessary and appropriate to the circumstances. The project team is
6161obligated to maintain confidentiality with regard to the reporter of an incident.
Original file line number Diff line number Diff line change @@ -53,10 +53,10 @@ annotate: ## run python type annotation checks with mypy
5353.PHONY : test coverage tests
5454
5555test : # # run python tests
56- python -m pytest -v python_template/tests --junitxml=junit.xml
56+ python -m pytest -v python_template/tests
5757
5858coverage : # # run tests and collect test coverage
59- python -m pytest -v python_template/tests --junitxml=junit.xml -- cov=python_template --cov-branch --cov-fail-under=50 --cov-report term-missing --cov-report xml
59+ python -m pytest -v python_template/tests --cov=python_template --cov-report term-missing --cov-report xml
6060
6161# Alias
6262tests : test
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend="hatchling.build"
44
55[project ]
66name = " python-template"
7- authors = [{name = " Python Project Template Authors" , email = " t.paine154@gmail .com" }]
7+ authors = [{name = " Python Project Template Authors" , email = " 3105306+timkpaine@users.noreply.github .com" }]
88description =" A pure-python project template"
99readme = " README.md"
1010license = { text = " Apache-2.0" }
@@ -67,6 +67,20 @@ ignore = [
6767 " setup.py" ,
6868]
6969
70+ [tool .coverage .run ]
71+ branch = true
72+ omit = [
73+ " python_template/tests/integration/" ,
74+ ]
75+ [tool .coverage .report ]
76+ exclude_also = [
77+ " raise NotImplementedError" ,
78+ " if __name__ == .__main__.:" ,
79+ " @(abc\\ .)?abstractmethod" ,
80+ ]
81+ ignore_errors = true
82+ fail_under = 50
83+
7084[tool .hatch .build ]
7185artifacts = []
7286
@@ -80,6 +94,7 @@ include = [
8094 " README.md" ,
8195]
8296exclude = [
97+ " .copier-answers.yml" ,
8398 " /.github" ,
8499 " /.gitattributes" ,
85100 " /.gitignore" ,
@@ -90,6 +105,7 @@ include = [
90105 " /python_template" ,
91106]
92107exclude = [
108+ " .copier-answers.yml" ,
93109 " /.github" ,
94110 " /.gitattributes" ,
95111 " /.gitignore" ,
@@ -99,6 +115,7 @@ exclude = [
99115[tool .hatch .build .targets .wheel .shared-data ]
100116
101117[tool .pytest .ini_options ]
118+ addopts = [" -vvv" , " --junitxml=junit.xml" ]
102119asyncio_mode = " strict"
103120testpaths = " python_template/tests"
104121
You can’t perform that action at this time.
0 commit comments