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

Replace black and pylint with ruff #3333

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from

Conversation

charludo
Copy link
Contributor

@charludo charludo commented Jan 14, 2025

Short description

I am SO sorry, dear reviewers 🙈
@cclauss do you have an opinion on this? 😄

Proposed changes

  • black -> ruff
  • pylint -> ruff

Side effects

  • hahahaha
  • 👀

Resolved issues

Fixes: #3234


Pull Request Review Guidelines

@charludo charludo force-pushed the enhancement/replace-tools-with-ruff branch 3 times, most recently from 8a99cf6 to 89ef879 Compare January 14, 2025 09:29
@PeterNerlich PeterNerlich self-assigned this Jan 14, 2025
@charludo charludo force-pushed the enhancement/replace-tools-with-ruff branch 2 times, most recently from f914042 to 280f4a6 Compare January 15, 2025 08:59
@charludo charludo marked this pull request as ready for review January 15, 2025 10:57
@charludo
Copy link
Contributor Author

I've marked this as "ready for review". Due to the nature of the PR, this will constantly get merge conflicts, but luckily, 95% of the changes are "automatic" ones from ruff, so please feel free to review even if a merge conflict exists, I'll try to keep up with resolving them.

@charludo charludo force-pushed the enhancement/replace-tools-with-ruff branch from 280f4a6 to c33177f Compare January 17, 2025 10:38
Copy link
Contributor

@cclauss cclauss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

% ruff format

Would reformat: integreat_cms/integreat_celery/celery.py
Would reformat: tests/cms/views/contacts/test_contact_actions.py

.pre-commit-config.yaml Show resolved Hide resolved
.prettierignore Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
docs/src/code-style.rst Outdated Show resolved Hide resolved
docs/src/code-style.rst Show resolved Hide resolved
docs/src/tools.rst Outdated Show resolved Hide resolved
integreat_cms/README.md Outdated Show resolved Hide resolved
@cclauss
Copy link
Contributor

cclauss commented Jan 17, 2025

LGTM!

@charludo charludo force-pushed the enhancement/replace-tools-with-ruff branch from bc77cd4 to 20bd98f Compare January 17, 2025 17:20
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.

Move to ruff from pylint & black
3 participants