Skip to content
Snippets Groups Projects
Commit 50fc56cd authored by nimrod's avatar nimrod
Browse files

Refresh .pre-commit.yaml from the skeleton file.

parent 97dea0fe
No related branches found
No related tags found
No related merge requests found
Pipeline #3173 failed
--- ---
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git - repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v4.4.0 rev: v4.3.0
hooks: hooks:
- id: check-added-large-files
- id: check-merge-conflict - id: check-merge-conflict
- id: check-yaml - id: check-yaml
- id: detect-private-key - id: detect-private-key
...@@ -11,17 +12,17 @@ repos: ...@@ -11,17 +12,17 @@ repos:
exclude: \.diff$ exclude: \.diff$
- repo: https://github.com/codespell-project/codespell.git - repo: https://github.com/codespell-project/codespell.git
rev: v2.2.2 rev: v2.1.0
hooks: hooks:
- id: codespell - id: codespell
- repo: https://github.com/Yelp/detect-secrets.git - repo: https://github.com/Yelp/detect-secrets.git
rev: v1.4.0 rev: v1.2.0
hooks: hooks:
- id: detect-secrets - id: detect-secrets
- repo: https://github.com/amperser/proselint.git - repo: https://github.com/amperser/proselint.git
rev: 0.13.0 rev: 0.10.2
hooks: hooks:
- id: proselint - id: proselint
types: [plain-text] types: [plain-text]
...@@ -41,14 +42,17 @@ repos: ...@@ -41,14 +42,17 @@ repos:
- id: yamltool - id: yamltool
- repo: https://github.com/adrienverge/yamllint.git - repo: https://github.com/adrienverge/yamllint.git
rev: v1.28.0 rev: v1.27.1
hooks: hooks:
- id: yamllint - id: yamllint
- repo: https://github.com/executablebooks/mdformat.git - repo: https://github.com/executablebooks/mdformat.git
rev: 0.7.16 rev: 0.7.14
hooks: hooks:
- id: mdformat - id: mdformat
additional_dependencies:
- mdformat-frontmatter
- mdformat-gfm
- repo: https://github.com/AleksaC/hadolint-py.git - repo: https://github.com/AleksaC/hadolint-py.git
rev: v2.10.0 rev: v2.10.0
...@@ -56,7 +60,7 @@ repos: ...@@ -56,7 +60,7 @@ repos:
- id: hadolint - id: hadolint
- repo: https://github.com/ambv/black.git - repo: https://github.com/ambv/black.git
rev: 22.10.0 rev: 22.6.0
hooks: hooks:
- id: black - id: black
args: args:
...@@ -70,7 +74,7 @@ repos: ...@@ -70,7 +74,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: v1.8.2 rev: 1.7.7
hooks: hooks:
- id: prospector - id: prospector
args: args:
...@@ -93,10 +97,11 @@ repos: ...@@ -93,10 +97,11 @@ repos:
- |- - |-
--no-autodetect --no-autodetect
additional_dependencies: additional_dependencies:
- ".[with_pyroma,with_bandit]" - bandit
- pyroma
- repo: https://github.com/pycqa/flake8.git - repo: https://github.com/pycqa/flake8.git
rev: 6.0.0 rev: 3.9.2
hooks: hooks:
- id: flake8 - id: flake8
args: args:
...@@ -117,7 +122,7 @@ repos: ...@@ -117,7 +122,7 @@ repos:
- id: python-safety-dependencies-check - id: python-safety-dependencies-check
- repo: https://github.com/asottile/pyupgrade.git - repo: https://github.com/asottile/pyupgrade.git
rev: v3.3.0 rev: v2.37.1
hooks: hooks:
- id: pyupgrade - id: pyupgrade
...@@ -127,15 +132,26 @@ repos: ...@@ -127,15 +132,26 @@ repos:
- id: pycln - id: pycln
- repo: https://github.com/PyCQA/docformatter.git - repo: https://github.com/PyCQA/docformatter.git
rev: v1.5.0 rev: v1.4
hooks: hooks:
- id: docformatter - id: docformatter
- repo: https://github.com/jazzband/pip-tools.git - repo: https://github.com/jazzband/pip-tools.git
rev: 6.11.0 rev: 6.8.0
hooks: hooks:
- id: pip-compile - id: pip-compile
args: args:
- "--allow-unsafe" - "--allow-unsafe"
- "--generate-hashes" - "--generate-hashes"
- "--no-upgrade" - "--no-upgrade"
- repo: https://github.com/trailofbits/pip-audit.git
rev: v2.4.3
hooks:
- id: pip-audit
- id: pip-audit
name: pip-audit requirements files
args:
- "--requirement"
- "requirements.txt"
- "--fix"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment