Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.web
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.web
Commits
5fe633ce
Commit
5fe633ce
authored
6 years ago
by
Samuel GAIST
Committed by
André Anjos
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[pre-commit] Add pre-commit related configurations file
parent
c8100b44
No related branches found
No related tags found
1 merge request
!275
ZMQ refactoring
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.flake8
+4
-0
4 additions, 0 deletions
.flake8
.pre-commit-config.yaml
+24
-0
24 additions, 0 deletions
.pre-commit-config.yaml
with
28 additions
and
0 deletions
.flake8
0 → 100644
+
4
−
0
View file @
5fe633ce
[flake8]
max-line-length = 80
select = B,C,E,F,W,T4,B9,B950
ignore = E501, W503
This diff is collapsed.
Click to expand it.
.pre-commit-config.yaml
0 → 100644
+
24
−
0
View file @
5fe633ce
# 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
hooks
:
-
id
:
black
language_version
:
python3.6
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
rev
:
v2.0.0
hooks
:
-
id
:
trailing-whitespace
-
id
:
end-of-file-fixer
-
id
:
debug-statements
-
id
:
check-added-large-files
-
id
:
check-docstring-first
-
id
:
flake8
-
id
:
check-yaml
exclude
:
conda/meta.yaml
-
repo
:
https://github.com/PyCQA/bandit
rev
:
'
master'
# Update me!
hooks
:
-
id
:
bandit
exclude
:
beat/editor/test
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