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

Require ruff>=0.1.0 #283

Closed
wants to merge 1 commit into from
Closed

Require ruff>=0.1.0 #283

wants to merge 1 commit into from

Conversation

dhruvmanila
Copy link
Member

Summary

This PR updates the minimum required version for Ruff to be v0.1.0. This is
because that version includes the cell field which will be used for Jupyter
Notebook support.

@dhruvmanila
Copy link
Member Author

dhruvmanila commented Oct 17, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@zanieb
Copy link
Member

zanieb commented Oct 17, 2023

Can we avoid this? It'd be preferable to support an older version still and just toggle this behavior depending on the Ruff version (as we do for several other features)

@dhruvmanila
Copy link
Member Author

I guess it could be avoided but then the Notebook support will be available only if the user has v0.1.0.

@zanieb
Copy link
Member

zanieb commented Oct 17, 2023

That seems preferable to me, but might be worth some more opinions. We opted for that approach in #266

@dhruvmanila
Copy link
Member Author

Implementation is simple because it's just a dict.get("cell").

@dhruvmanila dhruvmanila deleted the dhruv/bump branch September 5, 2024 15:32
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.

2 participants