Commit 238b16f4 authored by Samuel GAIST's avatar Samuel GAIST

[pre-commit] Update configuration files

Pre-commit and isort
parent 2c4ddc74
...@@ -6,3 +6,5 @@ use_parentheses=true ...@@ -6,3 +6,5 @@ use_parentheses=true
ensure_newline_before_comments=true ensure_newline_before_comments=true
line_length=88 line_length=88
force_single_line=true force_single_line=true
order_by_type=true
lines_between_types=1
...@@ -2,16 +2,16 @@ ...@@ -2,16 +2,16 @@
# 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: 5.0.5 rev: 5.8.0
hooks: hooks:
- id: isort - id: isort
args: [-sl] args: [-sl]
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 19.10b0 rev: 20.8b1
hooks: hooks:
- id: black - id: black
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.1.0 rev: v3.4.0
hooks: hooks:
- id: check-ast - id: check-ast
- id: check-case-conflict - id: check-case-conflict
...@@ -24,11 +24,11 @@ repos: ...@@ -24,11 +24,11 @@ repos:
- id: check-yaml - id: check-yaml
exclude: conda/meta.yaml exclude: conda/meta.yaml
- repo: https://github.com/PyCQA/flake8/ - repo: https://github.com/PyCQA/flake8/
rev: 3.8.3 rev: 3.9.0
hooks: hooks:
- id: flake8 - id: flake8
- repo: https://github.com/PyCQA/bandit - repo: https://github.com/PyCQA/bandit
rev: 1.6.2 rev: 1.7.0
hooks: hooks:
- id: bandit - id: bandit
args: [-c, .bandit.yml] args: [-c, .bandit.yml]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment