mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-25 18:34:04 +00:00
Configure ruff to automatically fix issues. (#15194)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Automatically fix errors with `ruff`.
|
||||
+1
-1
@@ -112,7 +112,7 @@ python3 -m black "${files[@]}"
|
||||
|
||||
# Catch any common programming mistakes in Python code.
|
||||
# --quiet suppresses the update check.
|
||||
ruff --quiet "${files[@]}"
|
||||
ruff --quiet --fix "${files[@]}"
|
||||
|
||||
# Catch any common programming mistakes in Rust code.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user