mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 10:51:14 +00:00
36 lines
872 B
YAML
36 lines
872 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: check-symlinks
|
|
- id: destroyed-symlinks
|
|
- id: mixed-line-ending
|
|
args: [ --fix=lf ]
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v3.1.0
|
|
hooks:
|
|
- id: pyupgrade
|
|
args:
|
|
- --py37-plus
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: 'v0.0.278'
|
|
hooks:
|
|
- id: ruff
|
|
args: [ "--fix", "--fixable=ALL", "--exit-non-zero-on-fix" ]
|
|
|
|
- repo: https://github.com/codespell-project/codespell
|
|
rev: v2.2.1
|
|
hooks:
|
|
- id: codespell
|
|
exclude: tests/
|
|
args:
|
|
- --ignore-words-list="bloaded,nto,pullrequest,pullrequests,thi,tim,wan,Wan,chang,Chang"
|
|
- --quiet-level=2
|
|
|
|
- repo: https://github.com/psf/black
|
|
rev: 23.3.0
|
|
hooks:
|
|
- id: black
|