Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
z3z1ma committed Jan 2, 2025
1 parent 83e867c commit 362307a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 22 deletions.
27 changes: 5 additions & 22 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: check-ast
- id: check-json
Expand All @@ -11,7 +11,7 @@ repos:
- id: detect-private-key
- id: debug-statements
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.13.0
rev: v4.1.0
hooks:
- id: commitizen
- repo: https://github.com/astral-sh/ruff-pre-commit
Expand All @@ -22,27 +22,10 @@ repos:
- id: ruff
args: [--fix]
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.2
rev: v8.22.1
hooks:
- id: gitleaks
- repo: https://github.com/rhysd/actionlint
rev: v1.7.1
rev: v1.7.5
hooks:
- id: actionlint-docker
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
hooks:
- id: shellcheck
- repo: https://github.com/hadolint/hadolint
rev: v2.13.0-beta
hooks:
- id: hadolint-docker
- repo: local
hooks:
- id: uv-export-prod
name: uv-export-prod
entry: uv export -o requirements.txt --no-hashes --frozen
language: system
types: [file]
files: pyproject.toml|uv.lock
pass_filenames: false
- id: actionlint
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,6 @@ scan-new-baseline: .uv-installed-$(PY_VERSION)

scan-without-baseline: .uv-installed-$(PY_VERSION)
@uvx bandit -r src

requirements.txt: .uv-installed-$(PY_VERSION)
@uv export -o requirements.txt --no-hashes --frozen

0 comments on commit 362307a

Please sign in to comment.