Fix use ruff formatter

Динаzavr 2024-03-21 21:05:31 +03:00
parent d1b1431abf
commit 00ee192a68
No known key found for this signature in database
GPG Key ID: 08B0403E1612395D
1 changed files with 4 additions and 4 deletions

View File

@ -62,11 +62,11 @@ output_encoding = utf-8
# post_write_hooks defines scripts or Python functions that are run
# on newly generated revision scripts. See the documentation for further
# detail and examples
hooks = black,ruff
hooks = formatter,ruff
black.type = console_scripts
black.entrypoint = black
black.options = -l 99 REVISION_SCRIPT_FILENAME
formatter.type = exec
formatter.executable = ruff
formatter.options = format REVISION_SCRIPT_FILENAME
ruff.type = exec
ruff.executable = ruff