Skip to content

Resolve E501 ignored Ruff rule #2383

Description

@kattni

What is the problem or limitation you are having?

When Ruff was enabled, some errors were globally ignored, with the intention of resolving them in subsequent PRs.

Describe the solution you'd like

This repo currently ignores the following rules from the EXXX series:

  • E501
    • debugger (note this has its own pyproject.toml file)
    • tests/integrations
    • tests/platforms

Work through the issues as follows:

  1. Comment out the error number in the pyproject.toml file ignore list.
  2. Run pre-commit run -a to run the checks.
  3. Work through each of the errors in the result until they are all resolved.
  4. pre-commit run -a should pass without the errors in the ignore list.
  5. Remove the E501 rule from the ignore list.
  6. If this is the last of the errors in the ignore list, remove the ignore list completely, including the comment above.
  7. Submit the PR.

Any ignore items not mentioned above should remain ignored. Do not do anything about these items.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew features, or improvements to existing features.good first issueIs this your first time contributing? This could be a good place to start!

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions