You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by tn...@apache.org on 2025/03/12 13:16:02 UTC
(tooling-trusted-release) branch main updated: apply specific mypy settings to allow to run it performantly within pre-commit environment
This is an automated email from the ASF dual-hosted git repository.
tn 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 e91020b apply specific mypy settings to allow to run it performantly within pre-commit environment
e91020b is described below
commit e91020b7f2fc2fe7a8f577257391c6ae4278b252
Author: Thomas Neidhart <tn...@apache.org>
AuthorDate: Wed Mar 12 14:15:48 2025 +0100
apply specific mypy settings to allow to run it performantly within pre-commit environment
---
.pre-commit-config.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 56b93bc..6980df7 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -62,7 +62,9 @@ repos:
name: Mypy Type Check
entry: mypy
language: system
+ require_serial: true
types: [python]
exclude: "tests" # see https://github.com/pre-commit/pre-commit/issues/2967
args:
- --config-file=pyproject.toml
+ - --scripts-are-modules
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org