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 : js
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 @@ -43,8 +43,8 @@ lint-js: ## run js linter
4343 cd js; pnpm lint
4444
4545lint-docs : # # lint docs with mdformat and codespell
46- python -m mdformat --check README.md docs/wiki/
47- python -m codespell_lib README.md docs/wiki/
46+ python -m mdformat --check README.md $( wildcard docs/src) docs/wiki/
47+ python -m codespell_lib README.md $( wildcard docs/src) docs/wiki/
4848
4949lint : lint-js lint-py lint-docs # # run project linters
5050
@@ -60,8 +60,8 @@ fix-js: ## fix js formatting
6060 cd js; pnpm fix
6161
6262fix-docs : # # autoformat docs with mdformat and codespell
63- python -m mdformat README.md docs/wiki/
64- python -m codespell_lib --write README.md docs/wiki/
63+ python -m mdformat README.md $( wildcard docs/src) docs/wiki/
64+ python -m codespell_lib --write README.md $( wildcard docs/src) docs/wiki/
6565
6666fix : fix-js fix-py fix-docs # # run project autoformatters
6767
@@ -79,7 +79,7 @@ check-dist: ## check python sdist and wheel with check-dist
7979check-types : # # check python types with ty
8080 ty check --python $$(which python )
8181
82- checks : check-dist
82+ checks : check-dist check-types
8383
8484# alias
8585check : checks
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ develop = [
4040 " hatch-js" ,
4141 " hatchling" ,
4242 " mdformat" ,
43+ " mdformat-frontmatter" ,
4344 " mdformat-tables>=1" ,
4445 " pytest" ,
4546 " pytest-cov" ,
@@ -84,7 +85,7 @@ replace = '"version": "{new_version}"'
8485[tool .coverage .run ]
8586branch = true
8687omit = [
87- " python_template_js/tests/integration/" ,
88+ " python_template_js/tests/integration/* " ,
8889]
8990
9091[tool .coverage .report ]
You can’t perform that action at this time.
0 commit comments