Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.cmdline
Commits
c05bf38d
Commit
c05bf38d
authored
May 26, 2020
by
Samuel GAIST
Browse files
[pre-commit] Added isort
parent
20327e99
Changes
2
Hide whitespace changes
Inline
Side-by-side
.isort.cfg
0 → 100644
View file @
c05bf38d
[settings]
line_length=88
order_by_type=true
lines_between_types=1
.pre-commit-config.yaml
View file @
c05bf38d
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos
:
-
repo
:
https://github.com/timothycrosley/isort
rev
:
4.3.21-2
hooks
:
-
id
:
isort
args
:
[
-sl
]
-
repo
:
https://github.com/ambv/black
rev
:
stable
hooks
:
...
...
@@ -10,6 +15,8 @@ repos:
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
rev
:
v2.2.1
hooks
:
-
id
:
check-ast
-
id
:
check-case-conflict
-
id
:
trailing-whitespace
-
id
:
end-of-file-fixer
-
id
:
debug-statements
...
...
@@ -19,7 +26,7 @@ repos:
-
id
:
check-yaml
exclude
:
conda/meta.yaml
-
repo
:
https://github.com/PyCQA/bandit
rev
:
master
# Update me!
rev
:
master
hooks
:
-
id
:
bandit
args
:
[
-c
,
.bandit.yml
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment