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

[MRG] Replace flake8 linting with ruff linting #961

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

asoplata
Copy link
Collaborator

This is a small change for the purposes of replacing our previous linting with flake8 to use the faster ruff check linting. For previous discussion on why this is a good idea, see the parts of #934 discussing ruff linting specifically (as opposed to "formatting"). This PR was forked off from that discussion. Note that this current PR is NOT about using ruff format to change our code-formatting-style. Instead, the "linting" in ruff check is limited to error detection (such as syntax errors) and some limited PEP8 formatting violation detection. Again, see the other issue for a more exhaustive discussion of these things, including the terminology around them.

Note: for anyone doing testing on an existing install, this DOES require that you will have to install the ruff Python package. Alternatively, you can also install ruff by re-installing the development packages the same way you originally installed flake8, via:

pip install --editable "<your_hnn_dir>[dev]"

Note: for anyone doing testing on an existing install, this DOES require
that you will have to install the `ruff` Python package. Alternatively,
you can also install `ruff` by re-installing the development packages
the same way you originally installed `flake8`, via:

`pip install --editable "<your_hnn_dir>[dev]"`
@asoplata asoplata added enhancement New feature or request testing labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant