Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Platypush
platypush
Commits
1b30bfc4
Verified
Commit
1b30bfc4
authored
Apr 04, 2022
by
Fabio Manganiello
Browse files
Added more pre-commit hooks
parent
48680165
Pipeline
#187
passed with stages
in 8 minutes and 17 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.pre-commit-config.yaml
View file @
1b30bfc4
...
...
@@ -2,14 +2,31 @@
# See https://pre-commit.com/hooks.html for more hooks
repos
:
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
rev
:
v
3.2
.0
rev
:
v
4.1
.0
hooks
:
# - id: trailing-whitespace
# - id: end-of-file-fixer
-
id
:
check-yaml
-
id
:
check-json
-
id
:
check-xml
-
id
:
check-symlinks
-
id
:
check-added-large-files
-
repo
:
https://github.com/Lucas-C/pre-commit-hooks-nodejs
rev
:
v1.1.
1
rev
:
v1.1.
2
hooks
:
-
id
:
markdown-toc
-
repo
:
https://github.com/pycqa/flake8
rev
:
4.0.1
hooks
:
-
id
:
flake8
additional_dependencies
:
-
flake8-bugbear
-
flake8-comprehensions
-
flake8-simplify
-
repo
:
https://github.com/psf/black
rev
:
22.3.0
hooks
:
-
id
:
black
setup.cfg
View file @
1b30bfc4
...
...
@@ -5,3 +5,6 @@ tag = True
[metadata]
description-file = README.md
[flake8]
max-line-length = 120
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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