mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-24 19:38:36 +09:00
57 lines
1.2 KiB
YAML
57 lines
1.2 KiB
YAML
exclude: "^docs/|/migrations/"
|
|
default_stages: [ commit ]
|
|
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.3.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
- id: check-case-conflict
|
|
- id: check-docstring-first
|
|
- id: check-executables-have-shebangs
|
|
- id: check-json
|
|
- id: check-toml
|
|
- id: check-yaml
|
|
- id: debug-statements
|
|
- id: detect-private-key
|
|
- id: end-of-file-fixer
|
|
- id: mixed-line-ending
|
|
- id: trailing-whitespace
|
|
|
|
- repo: https://github.com/psf/black
|
|
rev: 22.6.0
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.10.1
|
|
hooks:
|
|
- id: isort
|
|
args: [ "--profile", "black", ]
|
|
|
|
- repo: https://github.com/hadialqattan/pycln
|
|
rev: v2.1.1
|
|
hooks:
|
|
- id: pycln
|
|
args: [ --config=setup.cfg ]
|
|
|
|
- repo: https://github.com/myint/docformatter
|
|
rev: v1.5.0-rc1
|
|
hooks:
|
|
- id: docformatter
|
|
args: [ --in-place ]
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: 5.0.4
|
|
hooks:
|
|
- id: flake8
|
|
args: [ "--config=setup.cfg" ]
|
|
|
|
|
|
|
|
# sets up .pre-commit-ci.yaml to ensure pre-commit dependencies stay up to date
|
|
ci:
|
|
autoupdate_schedule: weekly
|
|
skip: [ ]
|
|
submodules: false
|