Skip to content

Add code formatting and linting workflow#14

Open
rishipradeep-think41 wants to merge 2 commits into
think41:mainfrom
rishipradeep-think41:add-linting-workflow
Open

Add code formatting and linting workflow#14
rishipradeep-think41 wants to merge 2 commits into
think41:mainfrom
rishipradeep-think41:add-linting-workflow

Conversation

@rishipradeep-think41
Copy link
Copy Markdown

This pull request introduces a new GitHub Action workflow to automatically enforce code style and consistency across the repository.

  • What was changed:

    • A new workflow file has been added at .github/workflows/lint.yml.
    • This workflow is triggered on every pull request that targets the main branch.
    • It runs isort --check . and black --check . to validate that the code adheres to the project's formatting standards as defined in pyproject.toml.
  • Purpose:

    • The goal is to automate the process of checking for code style, ensuring all contributions are consistently formatted.
    • This will help improve code quality and readability, and reduce the need for manual formatting reviews.
  • Dependencies:

    • To support this new workflow, isort and black have been added as development dependencies to requirements.txt.

@rishipradeep-think41
Copy link
Copy Markdown
Author

rishipradeep-think41 commented Oct 3, 2025

This won't work for the dev branch yet, as we need to merge dev with main and then reset it. We will also need to run the linting process for the main branch once before this is merged, just to make sure.

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