diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-10-10 10:35:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-10 10:35:21 (GMT) |
commit | 55d607683f85367e503ee34b85bc3b9c1a782552 (patch) | |
tree | 013b58b441baad6e683bf3d3903fdcce64933eff /.pre-commit-config.yaml | |
parent | 190660abe9168ef16370c2b8f346288ebda11fb3 (diff) | |
download | cpython-55d607683f85367e503ee34b85bc3b9c1a782552.zip cpython-55d607683f85367e503ee34b85bc3b9c1a782552.tar.gz cpython-55d607683f85367e503ee34b85bc3b9c1a782552.tar.bz2 |
[3.12] gh-110558: Enable ruff's pyupgrade rules when running on Argument Clinic (GH-110603) (#110609)
gh-110558: Enable ruff's pyupgrade rules when running on Argument Clinic (GH-110603)
(cherry picked from commit fc811c8d205db9c19f42890e2c4193a0c2f87965)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
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 ffca103..8ad1f33 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 |