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 : cython
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 @@ -18,16 +18,16 @@ lint-py: ## lint Python with ruff
1818 python -m ruff format --check python_template_cython
1919
2020lint-docs : # # lint documentation
21- python -m mdformat --check README.md docs/development.md
22- python -m codespell_lib README.md docs/development.md
21+ python -m mdformat --check README.md docs/development.md $( wildcard docs/src)
22+ python -m codespell_lib README.md docs/development.md $( wildcard docs/src)
2323
2424fix-py : # # autoformat Python code
2525 python -m ruff check --fix python_template_cython
2626 python -m ruff format python_template_cython
2727
2828fix-docs : # # autoformat documentation
29- python -m mdformat README.md docs/development.md
30- python -m codespell_lib --write README.md docs/development.md
29+ python -m mdformat README.md docs/development.md $( wildcard docs/src)
30+ python -m codespell_lib --write README.md docs/development.md $( wildcard docs/src)
3131
3232lint : lint-py lint-docs # # run all linters
3333lints : lint
@@ -40,7 +40,7 @@ check-dist: ## check python sdist and wheel with check-dist
4040check-types : # # check Python types (advisory)
4141 ty check python_template_cython
4242
43- checks : check-dist # # run distribution checks
43+ checks : check-dist check-types # # run distribution checks
4444check : checks
4545
4646test : # # run Python tests
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ develop = [
4343 " hatch-cython" ,
4444 " hatchling" ,
4545 " mdformat" ,
46+ " mdformat-frontmatter" ,
4647 " mdformat-tables>=1" ,
4748 " pytest" ,
4849 " pytest-cov" ,
@@ -79,7 +80,7 @@ replace = 'version = "{new_version}"'
7980[tool .coverage .run ]
8081branch = true
8182omit = [
82- " python_template_cython/tests/integration/" ,
83+ " python_template_cython/tests/integration/* " ,
8384 " python_template_cython/_compiled.py" ,
8485]
8586
Original file line number Diff line number Diff line change 1+ def add (left : int , right : int ) -> int : ...
You can’t perform that action at this time.
0 commit comments