Loading .pre-commit-config.yaml +6 −5 Original line number Diff line number Diff line default_stages: [commit] default_install_hook_types: [pre-commit, pre-push, commit-msg] repos: - repo: meta Loading @@ -7,7 +9,7 @@ repos: - id: check-useless-excludes - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 rev: v4.5.0 hooks: - id: check-added-large-files - id: check-case-conflict Loading Loading @@ -52,7 +54,7 @@ repos: - id: python-use-type-annotations - repo: https://github.com/hakancelikdev/unimport rev: 0.16.0 rev: 1.0.0 hooks: - id: unimport args: ["--remove", "--include=\\.pyi?$"] Loading @@ -67,10 +69,9 @@ repos: stages: [commit, manual] - repo: https://github.com/asottile/add-trailing-comma rev: v2.4.0 rev: v3.1.0 hooks: - id: add-trailing-comma args: [--py36-plus] types: [] types_or: [python, pyi] stages: [commit, manual] Loading @@ -88,7 +89,7 @@ repos: - pydocstyle[toml] - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.3.0 rev: v1.6.1 hooks: - id: mypy args: [--follow-imports=silent, project_templates] Loading Loading
.pre-commit-config.yaml +6 −5 Original line number Diff line number Diff line default_stages: [commit] default_install_hook_types: [pre-commit, pre-push, commit-msg] repos: - repo: meta Loading @@ -7,7 +9,7 @@ repos: - id: check-useless-excludes - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 rev: v4.5.0 hooks: - id: check-added-large-files - id: check-case-conflict Loading Loading @@ -52,7 +54,7 @@ repos: - id: python-use-type-annotations - repo: https://github.com/hakancelikdev/unimport rev: 0.16.0 rev: 1.0.0 hooks: - id: unimport args: ["--remove", "--include=\\.pyi?$"] Loading @@ -67,10 +69,9 @@ repos: stages: [commit, manual] - repo: https://github.com/asottile/add-trailing-comma rev: v2.4.0 rev: v3.1.0 hooks: - id: add-trailing-comma args: [--py36-plus] types: [] types_or: [python, pyi] stages: [commit, manual] Loading @@ -88,7 +89,7 @@ repos: - pydocstyle[toml] - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.3.0 rev: v1.6.1 hooks: - id: mypy args: [--follow-imports=silent, project_templates] Loading