From f8e9c42e77c971641488997176912e2d41bcbcf8 Mon Sep 17 00:00:00 2001 From: BJ Dierkes Date: Wed, 17 Jul 2024 19:44:37 -0500 Subject: [PATCH] Make Test Now Requires MyPy Compliance --- CHANGELOG.md | 1 + Makefile | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e04481ae..5cbd1c58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ Refactoring: - [PR #681](https://github.com/datafolklabs/cement/pull/681) - `[dev]` Remove Python 3.5, 3.6, 3.7 Docker Dev Targets - `[dev]` Added Python 3.13 Dev Target +- `[dev]` Testing now requires typing compliance (`make test` -> `make comply-mypy`) - `[dev]` Type Annotations (related: [PR #628](https://github.com/datafolklabs/cement/pull/628)) - `[core.arg]` [Issue #692](https://github.com/datafolklabs/cement/issues/692) - `[core.cache]` [Issue #693](https://github.com/datafolklabs/cement/issues/693) diff --git a/Makefile b/Makefile index 9e2113b0..e887e0a5 100644 --- a/Makefile +++ b/Makefile @@ -23,13 +23,15 @@ virtualenv: @echo "VirtualENV Setup Complete. Now run: eval $(pdm venv activate)" @echo -comply: +comply: comply-ruff comply-mypy + +comply-ruff: pdm run ruff check cement/ tests/ -comply-fix: +comply-ruff-fix: pdm run ruff check --fix cement/ tests/ -comply-typing: +comply-mypy: pdm run mypy docs: