diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 99a6585..a928bdc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,6 +5,7 @@ ci: autofix_prs: true autofix_commit_msg: "fix: [pre-commit.ci] auto fixes [...]" autoupdate_commit_msg: "chore(pre-commit): [pre-commit.ci] autoupdate" +default_stages: [commit, push, manual] repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 @@ -28,23 +29,19 @@ repos: hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - stages: [commit, push, manual] - repo: https://github.com/PyCQA/isort rev: 5.12.0 hooks: - id: isort - stages: [commit, push, manual] - repo: https://github.com/psf/black rev: 23.1.0 hooks: - id: black - stages: [commit, push, manual] - repo: https://github.com/asottile/pyupgrade rev: v3.3.1 hooks: - id: pyupgrade args: [--py37-plus] - stages: [commit, push, manual] - repo: https://github.com/pycqa/flake8 rev: 6.0.0 hooks: @@ -64,7 +61,6 @@ repos: hooks: - id: codespell additional_dependencies: [".[toml]"] - stages: [commit, push, manual] - repo: local hooks: - id: pylint @@ -73,7 +69,6 @@ repos: language: system types: [python] require_serial: true - stages: [commit, push, manual] - repo: https://github.com/pycqa/pydocstyle rev: 6.3.0 hooks: