You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dynamix-python-sdk/.pre-commit-config.yaml

26 lines
714 B

1 month ago
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