-
Notifications
You must be signed in to change notification settings - Fork 3
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
ci: add flake8 tests #3
Conversation
8c1af8e
to
a83d9ae
Compare
96c32dc
to
7512341
Compare
7512341
to
d5f1f74
Compare
I suggest to adopt ruff instead of the obsolete flake8. You may be interested in https://learn.scientific-python.org/ where we maintain templates: |
Looks like ruff is gaining quite some traction, pyvista is also just switching to it: pyvista/pyvista#5304 |
Thanks for the suggestion. I must ask, how is flake8 obsolete? I can see that they support py 3.12 it is actively maintained, plus it seems to be still the "industry" standard for linting python code. |
What I meant is that considering that all1 rules have been have been implemented in Ruff, explicitly integrating flake8 tooling should be considered an obsolete practice. The rules defined/discussed/developed under the flake8 project are still relevant. Footnotes |
I understand that ruff has been chosen as the linting tool for scientific python cookie, this does not make using flake8 as an obsolete practice across python projects. In any case, the feature is already developed in this PR, I am happy to move to something else if needed but I suggest to bring this to a discussion after merging this so we have linting asap. |
I just wanted to point out that some useful resources intended to streamline overall python development, this should not prevent you from moving forward with this PR. When the time comes, consider |
@jcfr thanks for bringing ideas to help us with the development of this project. I am sure that ruff is a much better alternative, I was genuinely curious about the rationale of the claim as I could see some other big python project persisting in their use of flake8 and others versus ruff. Lets explore this later! |
No description provided.