mirror of
https://gitflic.ru/project/alt-gnome/karkas.git
synced 2024-12-23 16:23:02 +03:00
82 lines
2.6 KiB
YAML
82 lines
2.6 KiB
YAML
# 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
|
|
- repo: https://github.com/netromdk/vermin
|
|
rev: v1.6.0
|
|
hooks:
|
|
- id: vermin
|
|
args: ['-t=3.10-', '--violations']
|
|
- 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
|
|
additional_dependencies:
|
|
- flake8-type-checking
|
|
- repo: https://github.com/PyCQA/bandit
|
|
rev: 1.7.9 # sync:bandit:poetry.lock
|
|
hooks:
|
|
- id: bandit
|
|
- 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"]
|
|
- repo: https://github.com/compilerla/conventional-pre-commit
|
|
rev: v3.4.0
|
|
hooks:
|
|
- id: conventional-pre-commit
|
|
stages: [commit-msg]
|
|
args: []
|