Configure ruff to automatically fix issues. (#15194)

This commit is contained in:
Patrick Cloke 2023-03-03 07:13:03 -05:00 committed by GitHub
parent 15e975f68f
commit 7ae4f7236a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/15194.misc Normal file
View file

@ -0,0 +1 @@
Automatically fix errors with `ruff`.

View file

@ -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.
#