mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-18 06:54:17 -05:00
Configure ruff to automatically fix issues. (#15194)
This commit is contained in:
parent
15e975f68f
commit
7ae4f7236a
1
changelog.d/15194.misc
Normal file
1
changelog.d/15194.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Automatically fix errors with `ruff`.
|
@ -112,7 +112,7 @@ python3 -m black "${files[@]}"
|
|||||||
|
|
||||||
# Catch any common programming mistakes in Python code.
|
# Catch any common programming mistakes in Python code.
|
||||||
# --quiet suppresses the update check.
|
# --quiet suppresses the update check.
|
||||||
ruff --quiet "${files[@]}"
|
ruff --quiet --fix "${files[@]}"
|
||||||
|
|
||||||
# Catch any common programming mistakes in Rust code.
|
# Catch any common programming mistakes in Rust code.
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user