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 : false
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 p2a
2626
2727lint-docs : # # lint docs with mdformat and codespell
28- python -m mdformat --check README.md
29- python -m codespell_lib README.md
28+ python -m mdformat --check README.md $( wildcard docs/src)
29+ python -m codespell_lib README.md $( wildcard docs/src)
3030
3131fix-py : # # autoformat python code with ruff
3232 python -m ruff check --fix p2a
3333 python -m ruff format p2a
3434
3535fix-docs : # # autoformat docs with mdformat and codespell
36- python -m mdformat README.md
37- python -m codespell_lib --write README.md
36+ python -m mdformat README.md $( wildcard docs/src)
37+ python -m codespell_lib --write README.md $( wildcard docs/src)
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 @@ -47,6 +47,7 @@ develop = [
4747 " codespell" ,
4848 " hatchling" ,
4949 " mdformat" ,
50+ " mdformat-frontmatter" ,
5051 " mdformat-tables>=1" ,
5152 " pytest" ,
5253 " pytest-cov" ,
@@ -82,7 +83,7 @@ replace = 'version = "{new_version}"'
8283[tool .coverage .run ]
8384branch = true
8485omit = [
85- " p2a/tests/integration/" ,
86+ " p2a/tests/integration/* " ,
8687]
8788
8889[tool .coverage .report ]
You can’t perform that action at this time.
0 commit comments