diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2023-10-10 09:35:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-10 09:35:36 (GMT) |
commit | fc811c8d205db9c19f42890e2c4193a0c2f87965 (patch) | |
tree | d7e847aa91ed8308e2cabffa1520488061849aaf /.pre-commit-config.yaml | |
parent | 757cc35b6bf6c1df8c4c5b4879ca276963e46718 (diff) | |
download | cpython-fc811c8d205db9c19f42890e2c4193a0c2f87965.zip cpython-fc811c8d205db9c19f42890e2c4193a0c2f87965.tar.gz cpython-fc811c8d205db9c19f42890e2c4193a0c2f87965.tar.bz2 |
gh-110558: Enable ruff's pyupgrade rules when running on Argument Clinic (#110603)
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 59fe1c3..8bc0d44 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ repos: args: [--exit-non-zero-on-fix] files: ^Lib/test/ - id: ruff - name: Run Ruff on Tools/clinic/ + name: Run Ruff on Argument Clinic args: [--exit-non-zero-on-fix, --config=Tools/clinic/.ruff.toml] files: ^Tools/clinic/|Lib/test/test_clinic.py |