Browse Source

Update pre-commit

pull/487/head
Simon Conseil 3 years ago
parent
commit
ccc73bcede
  1. 38
      .pre-commit-config.yaml

38
.pre-commit-config.yaml

@ -1,23 +1,33 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0 - repo: https://github.com/pre-commit/pre-commit-hooks
hooks: rev: v4.4.0
hooks:
- id: check-yaml - id: check-yaml
- id: check-added-large-files - id: check-added-large-files
- id: trailing-whitespace - id: trailing-whitespace
exclude: ".*(galleria|photoswipe|jquery|leaflet).*$" exclude: ".*(galleria|photoswipe|jquery|leaflet).*$"
- id: end-of-file-fixer - id: end-of-file-fixer
exclude: ".*(galleria|photoswipe|jquery|leaflet).*$" exclude: ".*(galleria|photoswipe|jquery|leaflet).*$"
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2 - repo: https://github.com/asottile/pyupgrade
hooks: rev: v3.2.2
hooks:
- id: pyupgrade
args: ["--py38-plus"]
- repo: https://github.com/timothycrosley/isort
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8 - id: flake8
types: [file, python] types: [file, python]
- repo: https://github.com/timothycrosley/isort
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.6.0
hooks:
- id: black

Loading…
Cancel
Save