This repository has been archived on 2025-05-11. You can view files and clone it, but cannot push or open issues or pull requests.
ute/.pre-commit-config.yaml

26 lines
856 B
YAML
Executable File

exclude: ^(.bzr|\.direnv|\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.pants\.d|\.svn|\.tox|\.venv|_build|buck-out|build|dist|node_modules|venv|\.idea|dockerdata|static|.*\b(migrations)\b.*)
repos:
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/ambv/black
rev: 22.3.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear==23.7.10
- flake8-builtins==2.1.0
- flake8-comprehensions==3.14.0
- flake8-tidy-imports==4.10.0
- flake8-eradicate==1.5.0
- flake8-print==5.0.0
- flake8-return==1.2.0
- flake8-use-fstring==1.4
- git+https://github.com/derrix060/flake8-expression-complexity.git