2024-07-08 00:21:50 +03:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/crashappsec/pre-commit-sync
|
|
|
|
rev: 04b0e02eefa7c41bedca7456ad542e60b67c16c6
|
|
|
|
hooks:
|
|
|
|
- id: pre-commit-sync
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v3.2.0
|
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-added-large-files
|
2024-08-19 15:44:45 +03:00
|
|
|
- repo: https://github.com/netromdk/vermin
|
|
|
|
rev: v1.6.0
|
|
|
|
hooks:
|
|
|
|
- id: vermin
|
|
|
|
args: ['-t=3.10-', '--violations']
|
2024-07-08 00:21:50 +03:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
|
|
|
rev: 5.13.2 # sync:isort:poetry.lock
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: 24.4.2 # sync:black:poetry.lock
|
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
|
|
|
rev: 7.1.0 # sync:flake8:poetry.lock
|
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2024-07-08 00:49:04 +03:00
|
|
|
- repo: https://github.com/PyCQA/bandit
|
|
|
|
rev: 1.7.9 # sync:bandit:poetry.lock
|
|
|
|
hooks:
|
|
|
|
- id: bandit
|
2024-08-20 23:24:26 +03:00
|
|
|
- repo: https://github.com/python-poetry/poetry
|
|
|
|
rev: 1.8.3
|
|
|
|
hooks:
|
|
|
|
- name: Poetry Lock (root)
|
|
|
|
id: poetry-lock
|
|
|
|
args: ["--no-update"]
|
|
|
|
- name: Poetry Check (root)
|
|
|
|
id: poetry-check
|
|
|
|
- name: Poetry Lock (gnomik)
|
|
|
|
id: poetry-lock
|
|
|
|
args: ["-C", "./src/gnomik", "--no-update"]
|
|
|
|
- name: Poetry Check (gnomik)
|
|
|
|
id: poetry-check
|
|
|
|
args: ["-C", "./src/gnomik"]
|
|
|
|
- name: Poetry Lock (altlinux)
|
|
|
|
id: poetry-lock
|
|
|
|
args: ["-C", "./src/altlinux", "--no-update"]
|
|
|
|
- name: Poetry Check (altlinux)
|
|
|
|
id: poetry-check
|
|
|
|
args: ["-C", "./src/altlinux"]
|
|
|
|
- name: Poetry Lock (karkas_core)
|
|
|
|
id: poetry-lock
|
|
|
|
args: ["-C", "./src/karkas_core", "--no-update"]
|
|
|
|
- name: Poetry Check (karkas_core)
|
|
|
|
id: poetry-check
|
|
|
|
args: ["-C", "./src/karkas_core"]
|
|
|
|
- name: Poetry Lock (karkas_blocks)
|
|
|
|
id: poetry-lock
|
|
|
|
args: ["-C", "./src/karkas_blocks", "--no-update"]
|
|
|
|
- name: Poetry Check (karkas_blocks)
|
|
|
|
id: poetry-check
|
|
|
|
args: ["-C", "./src/karkas_blocks"]
|
|
|
|
- name: Poetry Lock (karkas_piccolo)
|
|
|
|
id: poetry-lock
|
|
|
|
args: ["-C", "./src/karkas_piccolo", "--no-update"]
|
|
|
|
- name: Poetry Check (karkas_piccolo)
|
|
|
|
id: poetry-check
|
|
|
|
args: ["-C", "./src/karkas_piccolo"]
|