From 05ae00e0d00d5c005a90656fc0776ee5a9a358bc Mon Sep 17 00:00:00 2001 From: Julian Paquerot <111422357+Kajiih@users.noreply.github.com> Date: Tue, 26 Nov 2024 21:21:17 +0100 Subject: [PATCH] CI --- .github/workflows/build.yml | 7 +++++++ hatch_build.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cb01bd9..818bb66 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -117,6 +117,13 @@ jobs: # verbose: true continue-on-error: true + - name: ✅ Type checking with BasedPyright + run: basedpyright --stats + continue-on-error: true + - name: ✅ Verify public API types with BasedPyright + run: basedpyright --verifytypes nested_dict_tools + continue-on-error: true + - name: 🏗️ Build run: | pipx install hatch diff --git a/hatch_build.py b/hatch_build.py index dd7fbac..6bc335f 100644 --- a/hatch_build.py +++ b/hatch_build.py @@ -28,7 +28,7 @@ def update(self, metadata: dict[str, Any]) -> None: about = importlib.util.module_from_spec(spec) sys.modules["__about__"] = about spec.loader.exec_module(about) - 1 == 2 + 1 == 2 # Map __about__ attributes to metadata fields metadata["authors"] = [{"name": about.__author__, "email": about.__author_email__}]