mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-21 06:45:24 -06:00
chore: set default_stages in .pre-commit-config.yaml
This commit is contained in:
parent
383cdea81e
commit
ae8a08d6ff
1 changed files with 1 additions and 6 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue