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

replace pyupgrade+isort+autoflake with ruff #105

Merged
merged 21 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
5533619
replace isort&autoflake with ruff
jakkdl Mar 5, 2024
b50fba0
remove autoflake, remove last vestige of isort (autoflake depended on…
jakkdl Mar 6, 2024
94859af
""""fix"""" coverage
jakkdl Mar 6, 2024
4a02434
a bunch of codemods replaced with ruff
jakkdl Mar 6, 2024
61d63e3
add commented-out error codes for all checks that zac enabled in thei…
jakkdl Mar 6, 2024
91bbf5b
enable B011, simplify ShedFixers.leave_Assert
jakkdl Mar 6, 2024
cfd5c83
comments after researching PT018
jakkdl Mar 6, 2024
b2828f0
comments after researching unnecessary len()/bool()
jakkdl Mar 6, 2024
7e91f6f
comments after researching SIM117 vs removed_nested_with codemod
jakkdl Mar 6, 2024
fa359a5
replace collapse_isinstance_checks with SIM101
jakkdl Mar 6, 2024
33e934b
fix --check fail, revert leave_Assert changes since ruff also doesn't…
jakkdl Mar 6, 2024
bac8ede
pragma: no cover
jakkdl Mar 6, 2024
bae73ab
oops. Though 3.8 seems totes broke dependency-wise.
jakkdl Mar 6, 2024
5b671ba
generate deps on 3.8, since libcst==1.2 requires 3.9+
jakkdl Mar 6, 2024
2e51c6b
add first draft of CODEMODS.md
jakkdl Mar 8, 2024
5b9e863
minor fixes for CODEMODS.md
jakkdl Mar 8, 2024
f59d4da
changes after review
jakkdl Mar 11, 2024
6569599
remove pyupgrade, enable rules in ruff instead.
jakkdl Mar 11, 2024
0667eae
update README.md
jakkdl Mar 11, 2024
5e49913
cheat ruff by using 'py' instead of 'python' to mark code blocks
jakkdl Mar 11, 2024
87e80cf
reformat some code blocks, hide some from shed by marking them with '…
jakkdl Mar 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# remove carriage returns
bfb380e9538ca1502055cade65e660ffbdba10c8
Loading
Loading