diff --git a/.copier-answers.yml b/.copier-answers.yml index e7cd62e..684f1e8 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: https://github.com/python-project-templates/base.git add_docs: false add_extension: python diff --git a/Makefile b/Makefile index 1be9f0f..db13355 100644 --- a/Makefile +++ b/Makefile @@ -53,16 +53,16 @@ lint-py: ## lint python with ruff python -m ruff format --check verible 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 verible python -m ruff format verible 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 @@ -78,9 +78,9 @@ check-dist: ## check python sdist and wheel with check-dist check-dist -v check-types: ## check python types with ty - ty check --python $$(which python) + python -m ty check -checks: check-dist +checks: check-dist check-types # Alias check: checks diff --git a/pyproject.toml b/pyproject.toml index 981c582..ed31375 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,6 +41,7 @@ develop = [ "codespell", "hatchling", "mdformat", + "mdformat-frontmatter", "mdformat-tables>=1", "pytest", "pytest-cov", @@ -98,7 +99,7 @@ skip = "*win32 *arm_64" [tool.coverage.run] branch = true omit = [ - "verible/tests/integration/", + "verible/tests/integration/*", ] [tool.coverage.report] diff --git a/verible/tests/test_basic.py b/verible/tests/test_basic.py index fbfc3f5..68284c5 100644 --- a/verible/tests/test_basic.py +++ b/verible/tests/test_basic.py @@ -1,7 +1,7 @@ def test_import(): import verible - assert verible.__version__ + assert isinstance(verible.__version__, str) def test_cli_import():