STYLE: Enable pre-commit autofixes

This will avoid e.g. https://github.com/microsoft/InnerEye-DeepLearning/pull/769#issuecomment-1193686392.
This commit is contained in:
Fernando Pérez-García 2022-08-01 09:34:28 +01:00 коммит произвёл GitHub
Родитель 4e12cec106
Коммит 048897dd84
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -3,7 +3,7 @@
# See https://github.com/pre-commit/pre-commit-hooks/blob/master/.pre-commit-config.yaml for an example with more hooks
ci:
autofix_prs: false
autofix_prs: true
autoupdate_commit_msg: "ENH: Autoupdate hooks [pre-commit.ci]"
autoupdate_schedule: monthly
@ -33,3 +33,4 @@ repos:
rev: v1.6.0
hooks:
- id: autopep8
args: [--in-place, --max-line-length, "160"]