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

Feat: Use Ruff as a linter and formatter #43

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

benyissa
Copy link
Member

Changes Made

In this pull request, we have made the decision to switch from pylint and black to using Ruff exclusively. The rationale for this change is as follows:

Ruff

Ruff, an extremely fast Python linter and code formatter written in Rust, offers a robust solution for enforcing coding standards and identifying potential issues. Its comprehensive rule set and customizable configurations, along with seamless integration with popular code editors, provide real-time feedback, enabling developers to catch errors as they code. Ruff is black compatible and functions as both a linter and code formatter.

Pylint (Previous Configuration)

Pylint, known for its extensive AST analysis and modular system, is a powerful tool. However, its drawback is its excruciating slowness, which impacts the development flow.

Why the Change?

The decision to move to Ruff exclusively was driven by the desire for a faster and more immediate feedback loop during development. Ruff's speed and real-time feedback align with our goal of providing developers with quick insights into potential issues as they write code. This change aims to speed up checks and enhance the development flow.

@benyissa benyissa changed the title Feat: Use Ruff as a linter and formatter; update all! Feat: Use Ruff as a linter and formatter Jan 18, 2024
@benyissa benyissa requested review from 3asm, PiranhaSa and BlueSquare1 and removed request for 3asm and PiranhaSa January 18, 2024 15:08
@benyissa benyissa requested a review from amine3 January 18, 2024 16:31
@3asm 3asm merged commit bdf096e into main Jan 18, 2024
3 checks passed
@3asm 3asm deleted the switch_to_ruff_linter_and_formatter branch January 18, 2024 17:15
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.

3 participants