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 support for isort add-imports and remove-imports features. #27

Merged

Conversation

sodul
Copy link
Contributor

@sodul sodul commented Apr 24, 2024

This allows to configure gray.conf with useful common import such as:

isort-add-imports = "from __future__ import annotations"

@sodul
Copy link
Contributor Author

sodul commented Apr 24, 2024

The CI failures on macOS with python 3.8 and 3.9 are caused by changes in GH actions. Several bugs have been opened including this one: actions/setup-python#850

As a temporary workaround we could specify macos-13 instead of macos-latest as done here:
https://github.com/cytomining/CytoTable/pull/196/files

@sodul
Copy link
Contributor Author

sodul commented Apr 25, 2024

@dizballanze can you re-run the checks, Python 3.8 and 3.9 should be able to install and run now that the installers have been fixed.

@dizballanze dizballanze merged commit 7c1becc into dizballanze:master Apr 28, 2024
10 checks passed
@dizballanze
Copy link
Owner

Released in 0.15.0, thanks!

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