Skip to content

Enable Ruff UP035 checks #1395

Description

@coderabbitai

Summary

Enable Ruff rule UP035 for the project.

Rationale

Rule UP035 reports imports from typing that should use collections.abc. For example, Iterator should be imported as from collections.abc import Iterator on the supported Python versions.

Affected areas

  • Ruff configuration in the repository configuration files
  • Existing Python source files that violate UP035
  • CI and local lint validation

Acceptance criteria

  • Ruff enables UP035.
  • The codebase has no UP035 violations.
  • The lint command passes with the updated configuration.

Backlinks

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions