adaptive-lighting/.pre-commit-config.yaml

26 lines
630 B
YAML
Raw Permalink Normal View History

2022-08-28 13:59:50 -07:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
2023-02-12 14:37:40 -08:00
rev: v4.4.0
2022-08-28 13:59:50 -07:00
hooks:
- id: check-added-large-files
- id: trailing-whitespace
- id: end-of-file-fixer
- id: mixed-line-ending
args: ["--fix=lf"]
- repo: https://github.com/pycqa/flake8
2023-02-12 14:37:40 -08:00
rev: 6.0.0
2022-08-28 13:59:50 -07:00
hooks:
- id: flake8
2023-02-12 14:37:40 -08:00
- repo: https://github.com/psf/black
rev: 23.3.0
2022-08-28 13:59:50 -07:00
hooks:
- id: black
- repo: https://github.com/asottile/pyupgrade
2023-02-12 14:37:40 -08:00
rev: v3.3.1
2022-08-28 13:59:50 -07:00
hooks:
- id: pyupgrade
args: ["--py39-plus"]
2023-02-12 14:37:40 -08:00
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
2022-08-28 13:59:50 -07:00
hooks:
- id: isort