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

Configure ruff to check for style and format #452

Merged
merged 2 commits into from
Dec 20, 2024
Merged

Conversation

santisoler
Copy link
Member

Remove flake8, pylint and black as requirements to check style and format the code in env/requirements-style.txt and environment.yml. Update targets in Makefile to use ruff to check for style and format the code. Add ruff configs to pyproject.toml. Remove the .pylintrc file.

Relevant issues/PRs:

I'm targeting the ruff-dev branch for this PR, so we can collect all the required changes to start using ruff in Pooch. Including all changes in a single PR would make it too big with a lot of changes across files.

Remove `flake8`, `pylint` and `black` as requirements to check style and
format the code in `env/requirements-style.txt` and `environment.yml`.
Update targets in `Makefile` to use ruff to check for style and format
the code. Add ruff configs to `pyproject.toml`. Remove the `.pylintrc`
file.
@santisoler santisoler merged commit 46bd6ec into ruff-dev Dec 20, 2024
13 of 15 checks passed
@santisoler santisoler deleted the ruff-config branch December 20, 2024 00:40
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