Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
rcfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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
nimrod
rcfiles
Commits
15d6336d
Commit
15d6336d
authored
3 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
pre-commit updates and additions.
Add a bunch of Python hooks and update the existing hooks.
parent
54f4f160
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.config/git/skel/.pre-commit-config.yaml
+42
-14
42 additions, 14 deletions
.config/git/skel/.pre-commit-config.yaml
with
42 additions
and
14 deletions
.config/git/skel/.pre-commit-config.yaml
+
42
−
14
View file @
15d6336d
---
---
repos
:
repos
:
-
repo
:
https://github.com/pre-commit/pre-commit-hooks.git
-
repo
:
https://github.com/pre-commit/pre-commit-hooks.git
rev
:
v4.
0.1
rev
:
v4.
2.0
hooks
:
hooks
:
-
id
:
check-added-large-files
-
id
:
check-added-large-files
-
id
:
check-executables-have-shebangs
-
id
:
check-executables-have-shebangs
...
@@ -10,6 +10,8 @@ repos:
...
@@ -10,6 +10,8 @@ repos:
-
id
:
check-shebang-scripts-are-executable
-
id
:
check-shebang-scripts-are-executable
-
id
:
check-symlinks
-
id
:
check-symlinks
-
id
:
check-toml
-
id
:
check-toml
-
id
:
check-toml
files
:
Pipfile
-
id
:
check-xml
-
id
:
check-xml
-
id
:
check-yaml
-
id
:
check-yaml
-
id
:
detect-private-key
-
id
:
detect-private-key
...
@@ -23,7 +25,7 @@ repos:
...
@@ -23,7 +25,7 @@ repos:
-
id
:
codespell
-
id
:
codespell
-
repo
:
https://github.com/Yelp/detect-secrets.git
-
repo
:
https://github.com/Yelp/detect-secrets.git
rev
:
v1.
1
.0
rev
:
v1.
2
.0
hooks
:
hooks
:
-
id
:
detect-secrets
-
id
:
detect-secrets
...
@@ -35,7 +37,7 @@ repos:
...
@@ -35,7 +37,7 @@ repos:
exclude
:
LICENSE
exclude
:
LICENSE
-
repo
:
https://gitlab.com/devopshq/gitlab-ci-linter.git
-
repo
:
https://gitlab.com/devopshq/gitlab-ci-linter.git
rev
:
v1.0.
2
rev
:
v1.0.
3
hooks
:
hooks
:
-
id
:
gitlab-ci-linter
-
id
:
gitlab-ci-linter
args
:
args
:
...
@@ -53,22 +55,22 @@ repos:
...
@@ -53,22 +55,22 @@ repos:
-
id
:
yamllint
-
id
:
yamllint
-
repo
:
https://github.com/executablebooks/mdformat.git
-
repo
:
https://github.com/executablebooks/mdformat.git
rev
:
0.7.1
0
rev
:
0.7.1
4
hooks
:
hooks
:
-
id
:
mdformat
-
id
:
mdformat
-
repo
:
https://github.com/shellcheck-py/shellcheck-py.git
-
repo
:
https://github.com/shellcheck-py/shellcheck-py.git
rev
:
v0.
7.2.1
rev
:
v0.
8.0.4
hooks
:
hooks
:
-
id
:
shellcheck
-
id
:
shellcheck
-
repo
:
https://github.com/pre-commit/pre-commit.git
-
repo
:
https://github.com/pre-commit/pre-commit.git
rev
:
v2.1
5.0
rev
:
v2.1
8.1
hooks
:
hooks
:
-
id
:
validate_manifest
-
id
:
validate_manifest
-
repo
:
https://git.shore.co.il/nimrod/pre-commit-hooks.git
-
repo
:
https://git.shore.co.il/nimrod/pre-commit-hooks.git
rev
:
v0.
2
.0
rev
:
v0.
3
.0
hooks
:
hooks
:
-
id
:
shell-validate
-
id
:
shell-validate
-
id
:
ansible-syntax-check
-
id
:
ansible-syntax-check
...
@@ -78,17 +80,17 @@ repos:
...
@@ -78,17 +80,17 @@ repos:
-
id
:
docker-compose
-
id
:
docker-compose
-
repo
:
https://github.com/bridgecrewio/checkov.git
-
repo
:
https://github.com/bridgecrewio/checkov.git
rev
:
2.0.
708
rev
:
2.0.
1091
hooks
:
hooks
:
-
id
:
checkov
-
id
:
checkov
-
repo
:
https://github.com/ansible/ansible-lint.git
-
repo
:
https://github.com/ansible/ansible-lint.git
rev
:
v
5.2.1
rev
:
v
6.0.2
hooks
:
hooks
:
-
id
:
ansible-lint
-
id
:
ansible-lint
-
repo
:
https://github.com/AleksaC/hadolint-py.git
-
repo
:
https://github.com/AleksaC/hadolint-py.git
rev
:
v2.
8
.0
rev
:
v2.
10
.0
hooks
:
hooks
:
-
id
:
hadolint
-
id
:
hadolint
...
@@ -98,12 +100,12 @@ repos:
...
@@ -98,12 +100,12 @@ repos:
-
id
:
rst-linter
-
id
:
rst-linter
-
repo
:
https://github.com/myint/rstcheck.git
-
repo
:
https://github.com/myint/rstcheck.git
rev
:
master
rev
:
v5.0.0
hooks
:
hooks
:
-
id
:
rstcheck
-
id
:
rstcheck
-
repo
:
https://github.com/ambv/black.git
-
repo
:
https://github.com/ambv/black.git
rev
:
2
1.10b
0
rev
:
2
2.3.
0
hooks
:
hooks
:
-
id
:
black
-
id
:
black
args
:
args
:
...
@@ -117,7 +119,7 @@ repos:
...
@@ -117,7 +119,7 @@ repos:
args
:
[
"
--filter-files"
,
"
--profile"
,
"
black"
]
args
:
[
"
--filter-files"
,
"
--profile"
,
"
black"
]
-
repo
:
https://github.com/PyCQA/prospector.git
-
repo
:
https://github.com/PyCQA/prospector.git
rev
:
1.
6.0
rev
:
1.
7.7
hooks
:
hooks
:
-
id
:
prospector
-
id
:
prospector
args
:
args
:
...
@@ -152,8 +154,34 @@ repos:
...
@@ -152,8 +154,34 @@ repos:
--doctests
--doctests
additional_dependencies
:
additional_dependencies
:
-
flake8-bugbear
-
flake8-bugbear
-
flake8-builtins
-
flake8-comprehensions
-
flake8-loopy
-
flake8-pie
-
flake8-tuple
-
flake8-warnings
-
repo
:
https://github.com/Lucas-C/pre-commit-hooks-safety.git
rev
:
v1.2.4
hooks
:
-
id
:
python-safety-dependencies-check
-
repo
:
https://github.com/asottile/pyupgrade.git
rev
:
v2.32.0
hooks
:
-
id
:
pyupgrade
-
repo
:
https://github.com/pycqa/pydocstyle.git
rev
:
6.1.1
hooks
:
-
id
:
pydocstyle
-
repo
:
https://github.com/PyCQA/docformatter.git
rev
:
v1.4
hooks
:
-
id
:
docformatter
-
repo
:
https://github.com/mgedmin/check-manifest.git
-
repo
:
https://github.com/mgedmin/check-manifest.git
rev
:
'
0.4
7
'
rev
:
'
0.4
8
'
hooks
:
hooks
:
-
id
:
check-manifest
-
id
:
check-manifest
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