Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add autofix for PYI030 #7934

Merged
merged 6 commits into from
Nov 30, 2023

Tweak comment

2f6dd84
Select commit
Loading
Failed to load commit list.
Merged

Add autofix for PYI030 #7934

Tweak comment
2f6dd84
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Nov 30, 2023 in 0s

Performance Gate Passed

Summary

⚡ 5 improvements
✅ 20 untouched benchmarks

🆕 5 new benchmarks

Benchmarks breakdown

Benchmark main diceroll123:tweak-PYI030 Change
linter/all-rules[pydantic/types.py] 80.5 ms 72.1 ms +11.63%
linter/all-rules[unicode/pypinyin.py] 17.2 ms 16.2 ms +6.12%
🆕 linter/all-with-preview-rules[unicode/pypinyin.py] N/A 17.2 ms N/A
linter/all-rules[numpy/ctypeslib.py] 37 ms 34.2 ms +8.23%
🆕 linter/all-with-preview-rules[pydantic/types.py] N/A 78.8 ms N/A
linter/all-rules[large/dataset.py] 185.7 ms 165.4 ms +12.27%
🆕 linter/all-with-preview-rules[large/dataset.py] N/A 185.8 ms N/A
linter/all-rules[numpy/globals.py] 4.1 ms 3.9 ms +5.9%
🆕 linter/all-with-preview-rules[numpy/ctypeslib.py] N/A 37.3 ms N/A
🆕 linter/all-with-preview-rules[numpy/globals.py] N/A 4.2 ms N/A