diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-03-03 07:13:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-03 07:13:03 -0500 |
commit | 7ae4f7236a0873e490c7f5dc5d69f3b922818cb4 (patch) | |
tree | 3eef00ad36d3be3bd1f4c4269cb1c2e432705cd2 | |
parent | Experimental MSC3890 Implementation: Fix deleting account data when using an ... (diff) | |
download | synapse-7ae4f7236a0873e490c7f5dc5d69f3b922818cb4.tar.xz |
Configure ruff to automatically fix issues. (#15194)
Diffstat (limited to '')
-rw-r--r-- | changelog.d/15194.misc | 1 | ||||
-rwxr-xr-x | scripts-dev/lint.sh | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/15194.misc b/changelog.d/15194.misc new file mode 100644 index 0000000000..931bf5448a --- /dev/null +++ b/changelog.d/15194.misc @@ -0,0 +1 @@ +Automatically fix errors with `ruff`. diff --git a/scripts-dev/lint.sh b/scripts-dev/lint.sh index 392c509a8a..9e4ed3246e 100755 --- a/scripts-dev/lint.sh +++ b/scripts-dev/lint.sh @@ -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. # |