Skip to content
Commits on Source (2)
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v4.4.0
rev: v4.3.0
hooks:
- id: check-added-large-files
- id: check-merge-conflict
- id: check-yaml
- id: detect-private-key
......@@ -11,17 +12,17 @@ repos:
exclude: \.diff$
- repo: https://github.com/codespell-project/codespell.git
rev: v2.2.2
rev: v2.1.0
hooks:
- id: codespell
- repo: https://github.com/Yelp/detect-secrets.git
rev: v1.4.0
rev: v1.2.0
hooks:
- id: detect-secrets
- repo: https://github.com/amperser/proselint.git
rev: 0.13.0
rev: 0.10.2
hooks:
- id: proselint
types: [plain-text]
......@@ -41,14 +42,17 @@ repos:
- id: yamltool
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.28.0
rev: v1.27.1
hooks:
- id: yamllint
- repo: https://github.com/executablebooks/mdformat.git
rev: 0.7.16
rev: 0.7.14
hooks:
- id: mdformat
additional_dependencies:
- mdformat-frontmatter
- mdformat-gfm
- repo: https://github.com/AleksaC/hadolint-py.git
rev: v2.10.0
......@@ -56,7 +60,7 @@ repos:
- id: hadolint
- repo: https://github.com/ambv/black.git
rev: 22.10.0
rev: 22.6.0
hooks:
- id: black
args:
......@@ -70,7 +74,7 @@ repos:
args: ["--filter-files", "--profile", "black"]
- repo: https://github.com/PyCQA/prospector.git
rev: v1.8.2
rev: 1.7.7
hooks:
- id: prospector
args:
......@@ -97,7 +101,7 @@ repos:
- pyroma
- repo: https://github.com/pycqa/flake8.git
rev: 6.0.0
rev: 3.9.2
hooks:
- id: flake8
args:
......@@ -118,7 +122,7 @@ repos:
- id: python-safety-dependencies-check
- repo: https://github.com/asottile/pyupgrade.git
rev: v3.3.0
rev: v2.37.1
hooks:
- id: pyupgrade
......@@ -128,15 +132,26 @@ repos:
- id: pycln
- repo: https://github.com/PyCQA/docformatter.git
rev: v1.5.0
rev: v1.4
hooks:
- id: docformatter
- repo: https://github.com/jazzband/pip-tools.git
rev: 6.11.0
rev: 6.8.0
hooks:
- id: pip-compile
args:
- "--allow-unsafe"
- "--generate-hashes"
- "--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"