2021-10-29 21:20:36 +00:00
|
|
|
repos:
|
|
|
|
|
- repo: https://github.com/PyCQA/isort
|
2024-02-19 17:41:33 +00:00
|
|
|
rev: 5.13.2
|
2021-10-29 21:20:36 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: isort
|
|
|
|
|
args: ['--profile', 'black', '--check-only', '--diff']
|
|
|
|
|
files: ^((model_utils|tests)/)|setup.py
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2024-08-05 17:55:05 +00:00
|
|
|
rev: 7.1.1
|
2021-10-29 21:20:36 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: flake8
|
|
|
|
|
args: ['--ignore=E402,E501,E731,W503']
|
|
|
|
|
files: ^(model_utils|tests)/
|
2022-08-17 20:59:25 +00:00
|
|
|
|
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2024-08-05 17:55:05 +00:00
|
|
|
rev: v3.17.0
|
2022-08-17 20:59:25 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: pyupgrade
|
2023-06-15 17:39:29 +00:00
|
|
|
args: [--py38-plus]
|