Skip to content

Check and add import linter to BaseConfig #628

@ArBridgeman

Description

@ArBridgeman

Summary

The import linter was originally added in #149, but unfortunately, it was not added into the PTB routine tasks or implemented within the various team projects:

At the time of writing this, only the PTB has this marked and setup. The transformers-extension has it marked, but it looks to not be properly set up.

It's currently marked as experimental under the nox session lint:import.

Task(s)

  • Verify the usefulness in our projects
  • Usually tools pick up . files related to them or use an entry in the pyproject.toml for settings. Is there a reason why we need this specified in the BaseConfig?
  • Verify lint:import implementation
  • Add to CI pipeline and/or pre-commit hook
  • Update changelog, documentation, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactoringCode improvement without behavior change

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions