Browse Source

Configure ruff to automatically fix issues. (#15194)

tags/v1.79.0rc1
Patrick Cloke 1 year ago
committed by GitHub
parent
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. +1
    -0
      changelog.d/15194.misc
  2. +1
    -1
      scripts-dev/lint.sh

+ 1
- 0
changelog.d/15194.misc View File

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

+ 1
- 1
scripts-dev/lint.sh 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.
#


Loading…
Cancel
Save