520e931211
* feat(backgroundjobs): add new background jobs module for file imports queueing * fix(fileuploads): a merge gone wrong * feat(backgroundjobs): rename rhino queue env var * test(backgroundjob): use deep equal claude * fix(fileuploads): sync PR review * feat(ifc_importer): initial importer app implementation with a sleeping worker * chore(pre-commit): remove black as a formatter, its now handled by ruff * fix(ifc-importer): better handling of max job attempt * feat(eslint): ignore package from eslint
44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
# pre-commit for deployment related resources
|
|
# e.g. shell files, dockerfiles, helm chart etc..
|
|
repos:
|
|
- repo: https://github.com/hadolint/hadolint
|
|
rev: 'v2.10.0'
|
|
hooks:
|
|
- id: hadolint
|
|
# Cannot use official repo as it relies on Docker, which cannot be supported by either pre-commit.ci or CircleCI
|
|
- repo: https://github.com/Jarmos-san/shellcheck-precommit
|
|
rev: 'v0.2.0'
|
|
hooks:
|
|
- id: shellcheck-system
|
|
name: shellcheck
|
|
|
|
- repo: https://github.com/syntaqx/git-hooks
|
|
rev: 'v0.0.17'
|
|
hooks:
|
|
- id: circleci-config-validate
|
|
|
|
- repo: https://github.com/specklesystems/pre-commit
|
|
rev: '0.2.0'
|
|
hooks:
|
|
- id: ggshield-not-ci
|
|
|
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
rev: v0.12.2
|
|
hooks:
|
|
- id: ruff-check
|
|
name: ruff checker (python linter)
|
|
args:
|
|
- --ignore=E501 # ignoring error about lines that are too long
|
|
# Run the linter.
|
|
- id: ruff-format
|
|
name: ruff formatter (python formatter)
|
|
|
|
# helmlint should occur after the json schema is updated
|
|
- repo: https://github.com/gruntwork-io/pre-commit
|
|
rev: 'v0.1.17'
|
|
hooks:
|
|
- id: helmlint
|
|
|
|
ci:
|
|
autoupdate_schedule: quarterly
|