Fix use ruff formatter
parent
d1b1431abf
commit
00ee192a68
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue