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

version bump, detect stdlib import #106

Merged
merged 5 commits into from
Mar 13, 2024
Merged

Conversation

jakkdl
Copy link
Contributor

@jakkdl jakkdl commented Mar 13, 2024

quick followup PR for #105

@@ -75,6 +75,8 @@
# https://github.com/astral-sh/ruff/issues/10245
# ruff replaces `sorted(reversed(iterable))` with `sorted(iterable)`
# "C414", # unnecessary-double-cast # codemod: `replace_unnecessary_nested_calls`


# ** These are new fixes that Zac had enabled in his branch
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I initially only enabled checks that had a direct analog in autoflake/pyupgrade/isort/codemods, but that left a bunch that you had enabled in your branch. Presumably you added them because you thought they were useful to have enabled by default?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Zac-HD ... soooo should I do a separate PR where I do enable them?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Open an issue and I'll get to in eventually?

The more important one to me personally is that our just-released shed no longer detects hypothesis' own test suite as first-party, and so all the imports get moved.

None of this is work-related though!

Copy link
Owner

@Zac-HD Zac-HD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - thanks again @jakkdl!

@Zac-HD Zac-HD merged commit 5b77477 into Zac-HD:master Mar 13, 2024
8 checks passed
@jakkdl jakkdl deleted the followup_pr branch March 13, 2024 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants