This commit is contained in:
2025-03-21 17:47:09 +03:00
commit 346ffd4255
54 changed files with 2565 additions and 0 deletions

25
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,25 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: end-of-file-fixer
- id: file-contents-sorter
files: .*mapping.yml
args:
- --unique
- id: no-commit-to-branch
name: no-commit-to-branch (main, master, dev_*)
args:
- --pattern
- dev_.*
- repo: https://github.com/pycqa/flake8
rev: 7.1.2
hooks:
- id: flake8
name: flake8 (1/2)
files: src/dynamix_sdk/types\.py|.*__init__\.py|.*_api\.py
args:
- --extend-ignore=F401,F403,F405
- id: flake8
name: flake8 (2/2)
exclude: src/dynamix_sdk/types\.py|.*__init__\.py|.*_api\.py