Skip to content

Upgrade and use ruff==0.4.8 and support numpy>=2.0.0#176

Merged
domna merged 9 commits intomasterfrom
upgrade-ruff-and-numpy
Jun 19, 2024
Merged

Upgrade and use ruff==0.4.8 and support numpy>=2.0.0#176
domna merged 9 commits intomasterfrom
upgrade-ruff-and-numpy

Conversation

@domna
Copy link
Member

@domna domna commented Jun 18, 2024

Fixes #175

Changes

  • Uses ruff == 0.4.8 for linting and formatting instead of black and pylint
  • Ruff formats the code
  • Upgrades and changes for numpy>2.0.0
  • Removes support for python 3.7
  • Renames testing extra to dev
  • Adapts workflows to use uv
  • Updates all requirements

@domna domna requested a review from MarJMue June 18, 2024 16:09
@domna domna self-assigned this Jun 18, 2024
@domna
Copy link
Member Author

domna commented Jun 18, 2024

uv doesn't work with python 3.7. I just removed it. I think it's not officially supported anymore anyways, so I guess it's fine to request that people have at least python 3.8.

Copy link
Collaborator

@MarJMue MarJMue 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 to me

@domna domna changed the title Upgrade ruff and numpy Upgrade and use ruff==0.4.8 and support numpy>=2.0.0 Jun 19, 2024
@domna domna merged commit 2fa65c8 into master Jun 19, 2024
@domna domna deleted the upgrade-ruff-and-numpy branch June 19, 2024 05:44
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.

Numpy 2.0.0 support

2 participants