Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.core
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.core
Commits
763127a0
Commit
763127a0
authored
4 years ago
by
Samuel GAIST
Browse files
Options
Downloads
Patches
Plain Diff
[pre-commit] Cleanup configuration
parent
8ea89087
No related branches found
No related tags found
1 merge request
!126
Pre commit cleanup
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.flake8
+1
-1
1 addition, 1 deletion
.flake8
.isort.cfg
+8
-0
8 additions, 0 deletions
.isort.cfg
.pre-commit-config.yaml
+18
-7
18 additions, 7 deletions
.pre-commit-config.yaml
with
27 additions
and
8 deletions
.flake8
+
1
−
1
View file @
763127a0
[flake8]
max-line-length = 8
0
max-line-length = 8
8
select = B,C,E,F,W,T4,B9,B950
ignore = E501, W503, E203
This diff is collapsed.
Click to expand it.
.isort.cfg
0 → 100644
+
8
−
0
View file @
763127a0
[settings]
multi_line_output
=
3
include_trailing_comma
=
true
force_grid_wrap
=
0
use_parentheses
=
true
ensure_newline_before_comments
=
true
line_length
=
88
force_single_line
=
true
This diff is collapsed.
Click to expand it.
.pre-commit-config.yaml
+
18
−
7
View file @
763127a0
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos
:
-
repo
:
https://github.com/
ambv/black
rev
:
stable
-
repo
:
https://github.com/
timothycrosley/isort
rev
:
5.0.4
hooks
:
-
id
:
black
exclude
:
beat/core/test/prefix/algorithms/errors/syntax_error/1.py|beat/core/test/prefix/databases/invalid/1.py
-
id
:
isort
files
:
.*.py
-
repo
:
https://github.com/psf/black
rev
:
19.10b0
hooks
:
-
id
:
black
exclude
:
beat/core/test/prefix/algorithms/errors/syntax_error/1.py|beat/core/test/prefix/databases/invalid/1.py
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
rev
:
v
2.0
.0
rev
:
v
3.1
.0
hooks
:
-
id
:
check-ast
exclude
:
beat/core/test/prefix/algorithms/errors/syntax_error/1.py|beat/core/test/prefix/databases/invalid/1.py
-
id
:
check-case-conflict
-
id
:
trailing-whitespace
-
id
:
end-of-file-fixer
-
id
:
debug-statements
exclude
:
beat/core/test/prefix/algorithms/errors/syntax_error/1.py|beat/core/test/prefix/databases/invalid/1.py
-
id
:
check-added-large-files
-
id
:
check-docstring-first
-
id
:
flake8
-
id
:
check-yaml
exclude
:
conda/meta.yaml
-
repo
:
https://github.com/PyCQA/flake8
rev
:
3.8.3
hooks
:
-
id
:
flake8
-
repo
:
https://github.com/PyCQA/bandit
rev
:
'
master'
# Update me!
rev
:
1.6.2
hooks
:
-
id
:
bandit
exclude
:
beat/core/test/prefix/algorithms/errors/syntax_error/1.py|beat/core/test/prefix/databases/invalid/1.py
...
...
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