Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.backend.python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
beat
beat.backend.python
Commits
f5aad5a5
Commit
f5aad5a5
authored
4 years ago
by
Samuel GAIST
Browse files
Options
Downloads
Patches
Plain Diff
[pre-commit] Update configuration files
Pre-commit and isort
parent
e31e60ae
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!82
Add pyproject.toml
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.isort.cfg
+6
-0
6 additions, 0 deletions
.isort.cfg
.pre-commit-config.yaml
+9
-6
9 additions, 6 deletions
.pre-commit-config.yaml
with
15 additions
and
6 deletions
.isort.cfg
+
6
−
0
View file @
f5aad5a5
[settings]
[settings]
multi_line_output
=
3
include_trailing_comma
=
true
force_grid_wrap
=
0
use_parentheses
=
true
ensure_newline_before_comments
=
true
line_length
=
88
line_length
=
88
force_single_line
=
true
order_by_type
=
true
order_by_type
=
true
lines_between_types
=
1
lines_between_types
=
1
This diff is collapsed.
Click to expand it.
.pre-commit-config.yaml
+
9
−
6
View file @
f5aad5a5
...
@@ -2,17 +2,17 @@
...
@@ -2,17 +2,17 @@
# 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.0.5
hooks
:
hooks
:
-
id
:
isort
-
id
:
isort
args
:
[
-sl
]
args
:
[
-sl
]
-
repo
:
https://github.com/psf/black
-
repo
:
https://github.com/psf/black
rev
:
stable
rev
:
19.10b0
hooks
:
hooks
:
-
id
:
black
-
id
:
black
exclude
:
beat/backend/python/test/prefix/.*/syntax_error
exclude
:
beat/backend/python/test/prefix/.*/syntax_error
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
rev
:
v
2.0
.0
rev
:
v
3.1
.0
hooks
:
hooks
:
-
id
:
check-ast
-
id
:
check-ast
exclude
:
beat/backend/python/test/prefix/.*/syntax_error
exclude
:
beat/backend/python/test/prefix/.*/syntax_error
...
@@ -23,12 +23,15 @@ repos:
...
@@ -23,12 +23,15 @@ repos:
exclude
:
beat/backend/python/test/prefix/.*/syntax_error
exclude
:
beat/backend/python/test/prefix/.*/syntax_error
-
id
:
check-added-large-files
-
id
:
check-added-large-files
-
id
:
check-docstring-first
-
id
:
check-docstring-first
-
id
:
flake8
exclude
:
beat/backend/python/test/prefix/.*/(.*crash|syntax_error)
-
id
:
check-yaml
-
id
:
check-yaml
exclude
:
conda/meta.yaml
exclude
:
conda/meta.yaml
-
repo
:
https://github.com/PyCQA/flake8/
rev
:
3.8.3
hooks
:
-
id
:
flake8
exclude
:
beat/backend/python/test/prefix/.*/(.*crash|syntax_error)
-
repo
:
https://github.com/PyCQA/bandit
-
repo
:
https://github.com/PyCQA/bandit
rev
:
'
master'
# Update me!
rev
:
1.6.2
hooks
:
hooks
:
-
id
:
bandit
-
id
:
bandit
exclude
:
beat/backend/python/test/prefix/.*/syntax_error
exclude
:
beat/backend/python/test/prefix/.*/syntax_error
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment