File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changes here will be overwritten by Copier
2- _commit : ebb6e1c
2+ _commit : ' 4372075 '
33_src_path : https://github.com/python-project-templates/base.git
44add_docs : true
55add_extension : python
Original file line number Diff line number Diff line change 1515 workflow_dispatch :
1616
1717concurrency :
18- group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
18+ group : ${{ github.workflow }}-${{ github.ref }}
1919 cancel-in-progress : true
2020
2121permissions :
Original file line number Diff line number Diff line change @@ -25,16 +25,16 @@ lint-py: ## lint python with ruff
2525 python -m ruff format --check python_template
2626
2727lint-docs : # # lint docs with mdformat and codespell
28- python -m mdformat --check README.md docs/wiki/
29- python -m codespell_lib README.md docs/wiki/
28+ python -m mdformat --check README.md $( wildcard docs/src) docs/wiki/
29+ python -m codespell_lib README.md $( wildcard docs/src) docs/wiki/
3030
3131fix-py : # # autoformat python code with ruff
3232 python -m ruff check --fix python_template
3333 python -m ruff format python_template
3434
3535fix-docs : # # autoformat docs with mdformat and codespell
36- python -m mdformat README.md docs/wiki/
37- python -m codespell_lib --write README.md docs/wiki/
36+ python -m mdformat README.md $( wildcard docs/src) docs/wiki/
37+ python -m codespell_lib --write README.md $( wildcard docs/src) docs/wiki/
3838
3939lint : lint-py lint-docs # # run all linters
4040lints : lint
@@ -52,7 +52,7 @@ check-dist: ## check python sdist and wheel with check-dist
5252check-types : # # check python types with ty
5353 ty check --python $$(which python )
5454
55- checks : check-dist
55+ checks : check-dist check-types
5656
5757# Alias
5858check : checks
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ develop = [
3838 " codespell" ,
3939 " hatchling" ,
4040 " mdformat" ,
41+ " mdformat-frontmatter" ,
4142 " mdformat-tables>=1" ,
4243 " pytest" ,
4344 " pytest-cov" ,
@@ -73,7 +74,7 @@ replace = 'version = "{new_version}"'
7374[tool .coverage .run ]
7475branch = true
7576omit = [
76- " python_template/tests/integration/" ,
77+ " python_template/tests/integration/* " ,
7778]
7879
7980[tool .coverage .report ]
You can’t perform that action at this time.
0 commit comments