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

Bump flake8 and black in pre-commit config and add support for 3.11 #418

Merged
merged 3 commits into from Feb 29, 2024

Conversation

lukaszo
Copy link
Contributor

@lukaszo lukaszo commented Nov 1, 2023

This fixes pre-commit failure https://github.com/dask/dask-cloudprovider/actions/runs/6709474379/job/18232600682

It looks like the default python version in the action was bumped to the latest 3.12. flake8 in version 3.9.2 does not work with python3.12.
I've bumped the flake8 and black to the latest versions. The new black formatter removed a few empty lines.

I've also added a support for python 3.11 and preliminary support for 3.12. Before supporting 3.12 we have to wait for a new aiohttp version aio-libs/aiohttp#7675

@lukaszo
Copy link
Contributor Author

lukaszo commented Nov 1, 2023

I also had to set python version to 3.11 when building docs. It seems that everyone is upgrading to python 3.12 :)

@lukaszo lukaszo changed the title Bump flake8 and black in pre-commit config Bump flake8 and black in pre-commit config and add support for 3.11 Nov 1, 2023
@lukaszo
Copy link
Contributor Author

lukaszo commented Nov 27, 2023

@jacobtomlinson ping :)

Copy link
Member

@jacobtomlinson jacobtomlinson left a comment

Choose a reason for hiding this comment

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

Thanks for your patience here. This looks great.

@jacobtomlinson jacobtomlinson merged commit 1eb17ff into dask:main Feb 29, 2024
7 checks passed
@lukaszo lukaszo deleted the pre-commit branch February 29, 2024 14:31
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