[UPD] pre-commit

pull/72/head
Alexandre D. Díaz 2 years ago
parent 5dd3a1efb9
commit a47de10b35

@ -11,7 +11,7 @@ repos:
language: fail language: fail
files: "\\.rej$" files: "\\.rej$"
- repo: https://github.com/pre-commit/mirrors-prettier - repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.1.2 rev: v2.7.1
hooks: hooks:
- id: prettier - id: prettier
additional_dependencies: additional_dependencies:
@ -31,21 +31,21 @@ repos:
- --remove-duplicate-keys - --remove-duplicate-keys
- --remove-unused-variables - --remove-unused-variables
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v2.7.2 rev: v2.34.0
hooks: hooks:
- id: pyupgrade - id: pyupgrade
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 20.8b1 rev: 22.3.0
hooks: hooks:
- id: black - id: black
- repo: https://github.com/timothycrosley/isort - repo: https://github.com/timothycrosley/isort
rev: 5.5.1 rev: 5.10.1
hooks: hooks:
- id: isort - id: isort
args: args:
- --settings=. - --settings=.
- repo: https://gitlab.com/pycqa/flake8 - repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3 rev: 3.9.2
hooks: hooks:
- &flake8 - &flake8
id: flake8 id: flake8
@ -60,7 +60,7 @@ repos:
- --extend-ignore=F401 - --extend-ignore=F401
files: /__init__\.py$ files: /__init__\.py$
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0 rev: v4.3.0
hooks: hooks:
- id: check-case-conflict - id: check-case-conflict
- id: check-executables-have-shebangs - id: check-executables-have-shebangs

Loading…
Cancel
Save