8000 pyupgrade and ruff · Issue #611 · tqec/tqec · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
pyupgrade and ruff #611
Open
Open
@purva-thakre

Description

@purva-thakre

ruff was added in #599

Some of the rules were intentionally ignored in pyproject.toml to allow us to enable them one by one and make the required changes. The goal of this issue is to remove "UP038", "UP035" from the ignore section and make the changes as required.

ruff should provide information when you run ruff check after the rule is removed from the toml file. Note that instead of using ruff check, it might be preferable to use ruff check --fix --target-version py310. See #599 (comment) for more.

https://docs.astral.sh/ruff/rules/non-pep604-isinstance/
https://docs.astral.sh/ruff/rules/deprecated-import/
https://docs.astral.sh/ruff/linter/#the-ruff-linter

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0