Files
docker-py-revanced/.pre-commit-config.yaml
T
Nikhil Badyal 0cafeb1381 🚀 Initial Commit
2022-08-12 21:02:47 +05:30

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