Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • main
  • v0.1.0
  • v0.2.0
  • v0.3.0
  • v0.4.0
  • v0.5.0
  • v0.5.1
  • v0.5.2
8 results

Target

Select target project
  • nimrod/pre-commit-hooks
1 result
Select Git revision
  • main
  • v0.1.0
  • v0.2.0
  • v0.3.0
  • v0.4.0
  • v0.5.0
  • v0.5.1
  • v0.5.2
8 results
Show changes
Commits on Source (2)
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
exclude: test_files exclude: test_files
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: v5.0.0
hooks: hooks:
- id: check-added-large-files - id: check-added-large-files
- id: check-executables-have-shebangs - id: check-executables-have-shebangs
...@@ -15,17 +15,17 @@ repos: ...@@ -15,17 +15,17 @@ repos:
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/codespell-project/codespell.git - repo: https://github.com/codespell-project/codespell.git
rev: v2.1.0 rev: v2.3.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.1.0 rev: v1.5.0
hooks: hooks:
- id: detect-secrets - id: detect-secrets
- repo: https://gitlab.com/devopshq/gitlab-ci-linter - repo: https://gitlab.com/devopshq/gitlab-ci-linter
rev: v1.0.2 rev: v1.0.6
hooks: hooks:
- id: gitlab-ci-linter - id: gitlab-ci-linter
args: args:
...@@ -33,24 +33,24 @@ repos: ...@@ -33,24 +33,24 @@ repos:
- https://git.shore.co.il - https://git.shore.co.il
- repo: https://github.com/amperser/proselint.git - repo: https://github.com/amperser/proselint.git
rev: 0.10.2 rev: 0.14.0
hooks: hooks:
- id: proselint - id: proselint
types: [plain-text] types: [plain-text]
exclude: LICENSE exclude: LICENSE
- repo: https://github.com/adrienverge/yamllint.git - repo: https://github.com/adrienverge/yamllint.git
rev: v1.26.3 rev: v1.35.1
hooks: hooks:
- id: yamllint - id: yamllint
- repo: https://github.com/executablebooks/mdformat.git - repo: https://github.com/executablebooks/mdformat.git
rev: 0.7.9 rev: 0.7.21
hooks: hooks:
- id: mdformat - id: mdformat
- repo: https://github.com/ambv/black.git - repo: https://github.com/ambv/black.git
rev: 23.12.1 rev: 24.10.0
hooks: hooks:
- id: black - id: black
args: args:
...@@ -58,7 +58,7 @@ repos: ...@@ -58,7 +58,7 @@ repos:
--line-length=79 --line-length=79
- repo: https://github.com/PyCQA/prospector.git - repo: https://github.com/PyCQA/prospector.git
rev: v1.10.3 rev: v1.13.3
hooks: hooks:
- id: prospector - id: prospector
args: args:
...@@ -82,7 +82,7 @@ repos: ...@@ -82,7 +82,7 @@ repos:
- bandit - bandit
- repo: https://github.com/pycqa/flake8.git - repo: https://github.com/pycqa/flake8.git
rev: 3.9.2 rev: 7.1.1
hooks: hooks:
- id: flake8 - id: flake8
args: args:
...@@ -92,16 +92,16 @@ repos: ...@@ -92,16 +92,16 @@ repos:
- flake8-bugbear - flake8-bugbear
- repo: https://github.com/pre-commit/pre-commit.git - repo: https://github.com/pre-commit/pre-commit.git
rev: v2.15.0 rev: v4.0.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.1.0 rev: v0.5.1
hooks: hooks:
- id: shell-validate - id: shell-validate
- 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.10.0.1
hooks: hooks:
- id: shellcheck - id: shellcheck
...@@ -36,7 +36,7 @@ def main(): ...@@ -36,7 +36,7 @@ def main():
parser = argparse.ArgumentParser(description=__doc__) parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument("file", nargs="+", type=pathlib.Path) parser.add_argument("file", nargs="+", type=pathlib.Path)
args = parser.parse_args() args = parser.parse_args()
hooks.utils.check_executable("terraform") hooks.utils.check_executable(TF_CLI)
os.putenv("TF_INPUT", "0") os.putenv("TF_INPUT", "0")
os.putenv("TF_IN_AUTOMATION", "1") os.putenv("TF_IN_AUTOMATION", "1")
return hooks.utils.bulk_check( return hooks.utils.bulk_check(
......