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 hatch_cpp
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 hatch_cpp
3333 python -m ruff format hatch_cpp
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 @@ -52,6 +52,7 @@ develop = [
5252 " hatchling" ,
5353 " hatch-build>=0.3.2" ,
5454 " mdformat" ,
55+ " mdformat-frontmatter" ,
5556 " mdformat-tables>=1" ,
5657 " pytest" ,
5758 " pytest-cov" ,
@@ -97,7 +98,7 @@ replace = 'version = "{new_version}"'
9798[tool .coverage .run ]
9899branch = false
99100omit = [
100- " hatch_cpp/tests/integration/" ,
101+ " hatch_cpp/tests/integration/* " ,
101102]
102103patch = [" subprocess" ]
103104
You can’t perform that action at this time.
0 commit comments