Skip to content

Ran ruff check --fix with ruff 0.16.0 - #306

Draft
max-models wants to merge 4 commits into
develfrom
ruff-check-0-1-6-autofixes
Draft

Ran ruff check --fix with ruff 0.16.0#306
max-models wants to merge 4 commits into
develfrom
ruff-check-0-1-6-autofixes

Conversation

@max-models

@max-models max-models commented Jul 30, 2026

Copy link
Copy Markdown
Member

Related to #290

This PR just contains automatic fixes by ruff 0.16.0, so there should not be any risks.

Next, we should also take care of the non-automatic fixes so we comply with all the ruff 0.16.0 rules.

Note that this formatting changes a few smart cases such as

before:

elif (Nbasis - p) < i and i < (Nbasis - 1):

after:

elif (Nbasis - p) < i < (Nbasis - 1):

@max-models
max-models marked this pull request as draft July 30, 2026 06:40
@max-models

Copy link
Copy Markdown
Member Author

@max-models

Copy link
Copy Markdown
Member Author

The issue is that ruff changed the imports in the pyccelized kernels which changes the way our dependency.py file orders the compilation.

Therefore, in order to finish this PR, we first have to move to the build in makefile system in recent versions of pyccel and use that instead of our own makefile. See #18 for example.

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.

1 participant