Skip to content

Add pre-commit config (black, flake8, isort) #190

Open

Description

@Ananya2001-an

💥 Proposal

Adding a pre-commit config file would be good for formatting/linting purposes. I am currently working on a python CLI project myself and we use pre commit hooks for the above mentioned reason. In the config file we can define the usage of black, flake8 and isort. Even later on you can add a lint test as a GHA which would be great for new PRs.

Have you read the Contributing Guidelines on Pull Requests?

Yes

Activity

  1. github-actions commented on May 25, 2023

    @github-actions

    Hi👋 thanks for creating your first issue for IOSF, Will get back to you soon !.

  2. GouravSardana commented on Oct 21, 2026

    @GouravSardana
    Member

    Restart triage: P2 — consolidate local developer checks with #196. No pre-commit configuration is present in the inspected tree. Adding black, flake8, isort and pylint separately risks overlapping policies and avoidable churn.

    Next step: agree on one formatter/linter policy, use matching versions/settings locally and in CI, and keep the initial change small. The deterministic test gate in #50 comes first.

    Configuration review only; no formatting or lint commands were run. Keeping the issue open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions