Skip to content
Snippets Groups Projects
Commit 047e22e0 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Merge branch 'precommit' into 'master'

Update the template precommit config file

See merge request !225
parents b73e1128 ddbbf721
No related branches found
No related tags found
1 merge request!225Update the template precommit config file
Pipeline #51487 passed
...@@ -2,16 +2,20 @@ ...@@ -2,16 +2,20 @@
# See https://pre-commit.com/hooks.html for more hooks # See https://pre-commit.com/hooks.html for more hooks
repos: repos:
- repo: https://github.com/timothycrosley/isort - repo: https://github.com/timothycrosley/isort
rev: 4.3.21-2 rev: 5.8.0
hooks: hooks:
- id: isort - id: isort
args: [-sl] args: [--sl, --line-length, "88"]
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: stable rev: 20.8b1
hooks: hooks:
- id: black - id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0 rev: v3.4.0
hooks: hooks:
- id: check-ast - id: check-ast
- id: check-case-conflict - id: check-case-conflict
...@@ -19,7 +23,6 @@ repos: ...@@ -19,7 +23,6 @@ repos:
- id: end-of-file-fixer - id: end-of-file-fixer
- id: debug-statements - id: debug-statements
- id: check-added-large-files - id: check-added-large-files
- id: flake8
- repo: local - repo: local
hooks: hooks:
- id: sphinx-build - id: sphinx-build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment