Skip to content

[IMPROVEMENT] Update ruff rules #188

@furqan463

Description

@furqan463

Describe the problem

This issue is inspired by issue PowerGridModel/power-grid-model-io#352.
The PGM-DS is currently behind PGM in terms of ruff lint rules/ checks.

Improvement proposal

Update the list of rules/check in pyproject.toml used by ruff in this repo to be aligned with the ones used in PGM. This will lead to many code changes that are to be fixed as well.

Suggested Steps

  1. Add a new rule not present in this repo but present in PGM to the pyproject.toml.
  2. Run uv run ruff check.
  3. Fix the reported errors/warning by ruff.
  4. Repeat until all the rules have been added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good-first-issueIssues which are easy to start for new contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions