This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git


The following commit(s) were added to refs/heads/main by this push:
     new 5cf3eb8  Remove pyright from pre-commit checks
5cf3eb8 is described below

commit 5cf3eb81a34576f97e5ab54b64b228183cf90613
Author: Sean B. Palmer <[email protected]>
AuthorDate: Wed Mar 12 14:13:17 2025 +0200

    Remove pyright from pre-commit checks
---
 .pre-commit-config.yaml | 6 ------
 Makefile                | 6 +++++-
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 0c5bbb3..56b93bc 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -66,9 +66,3 @@ repos:
       exclude: "tests" # see 
https://github.com/pre-commit/pre-commit/issues/2967
       args:
         - --config-file=pyproject.toml
-    - id: pyright
-      name: Pyright Type Check
-      entry: pyright
-      language: system
-      types: [python]
-      exclude: "tests"
diff --git a/Makefile b/Makefile
index 450f68f..715f5be 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: build build-alpine-ubuntu certs check docs report run serve sync 
sync-dev
+.PHONY: build build-alpine-ubuntu certs check checks docs report run serve 
sync sync-dev
 
 BIND ?= 127.0.0.1:8080
 PYTHON ?= $(which python3)
@@ -18,6 +18,10 @@ certs:
 check:
        $(SCRIPTS)/run pre-commit run --all-files
 
+checks:
+       $(SCRIPTS)/run pre-commit run --all-files
+       poetry run pyright
+
 docs:
        for fn in docs/*.md; \
        do cmark "$$fn" > "$${fn%.md}.html"; \


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to