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

Integrate Ruff Linter for Enhanced Code Quality in Python Project #204

Open
5 of 7 tasks
deepakdinesh1123 opened this issue Apr 22, 2024 · 0 comments
Open
5 of 7 tasks
Assignees

Comments

@deepakdinesh1123
Copy link
Contributor

deepakdinesh1123 commented Apr 22, 2024

Overview

This issue aims to enhance our Python project's code quality by integrating the Ruff linter and setting up a pre-commit hook to ensure linting checks are run automatically before each commit.

Goals

  • Integrate Ruff Linter: Add the Ruff linter to our project's development environment.
  • Configure Pre-Commit Hook: Implement a pre-commit hook that runs the Ruff linter against staged files before each commit.
  • Ensure Seamless Integration: Verify that the integration of Ruff and the pre-commit hook doesn't disrupt the development workflow and ensures consistent code quality.

Tasks

  • Research and install Ruff linter.
  • Update project dependencies and configuration to include Ruff.
  • Run the linter on all existing files and fix issues
  • Configure pre-commit hook to run Ruff against staged files.
  • Test the pre-commit hook to ensure it successfully runs the Ruff linter.
  • Test
  • Add documentation
@deepakdinesh1123 deepakdinesh1123 self-assigned this Apr 22, 2024
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

No branches or pull requests

1 participant