diff --git a/.copier-answers.yml b/.copier-answers.yml index ea81b69..700e507 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 5ff720b +_commit: '4372075' _src_path: git@github.com:python-project-templates/base.git add_docs: false add_extension: python diff --git a/Makefile b/Makefile index 935b0b9..a50d0d8 100644 --- a/Makefile +++ b/Makefile @@ -25,16 +25,16 @@ lint-py: ## lint python with ruff python -m ruff format --check nbprint_example_plugin lint-docs: ## lint docs with mdformat and codespell - python -m mdformat --check README.md - python -m codespell_lib README.md + python -m mdformat --check README.md $(wildcard docs/src) + python -m codespell_lib README.md $(wildcard docs/src) fix-py: ## autoformat python code with ruff python -m ruff check --fix nbprint_example_plugin python -m ruff format nbprint_example_plugin fix-docs: ## autoformat docs with mdformat and codespell - python -m mdformat README.md - python -m codespell_lib --write README.md + python -m mdformat README.md $(wildcard docs/src) + python -m codespell_lib --write README.md $(wildcard docs/src) lint: lint-py lint-docs ## run all linters lints: lint @@ -52,7 +52,7 @@ check-dist: ## check python sdist and wheel with check-dist check-types: ## check python types with ty ty check --python $$(which python) -checks: check-dist +checks: check-dist check-types # Alias check: checks diff --git a/pyproject.toml b/pyproject.toml index 56d53d1..37d09fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,7 @@ develop = [ "codespell", "hatchling", "mdformat", + "mdformat-frontmatter", "mdformat-tables>=1", "pytest", "pytest-cov", @@ -80,7 +81,7 @@ replace = 'version = "{new_version}"' [tool.coverage.run] branch = true omit = [ - "nbprint_example_plugin/tests/integration/", + "nbprint_example_plugin/tests/integration/*", ] [tool.coverage.report]