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

Switch to ruff format from black #1643

Merged
merged 3 commits into from
Oct 10, 2024
Merged

Switch to ruff format from black #1643

merged 3 commits into from
Oct 10, 2024

Conversation

StevenMaude
Copy link
Contributor

@StevenMaude StevenMaude commented Oct 9, 2024

This uses ruff for formatting, which means we:

  • use only one tool for Python linting and formatting
  • can remove some dependencies

We already switched to ruff format in the repo-template:

opensafely-core/repo-template/pull/254

We do this in the repo-template now:

opensafely-core/repo-template/pull/254

It allows to remove the dependencies associated with `black`.
We now use `ruff` for formatting, so this is no longer needed.
The use of `flake8` was removed a while ago.
@StevenMaude StevenMaude merged commit c407ef5 into main Oct 10, 2024
2 checks passed
@StevenMaude StevenMaude deleted the steve/ruff-format branch October 10, 2024 08:10
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.

2 participants