astral-sh / astral-sh/ruff

Add flake8-annoations argument called respect-type-ignore

Open
#16,630 1 comment 0 reactions 0 assignees View on GitHub
suppression
Dominant language
Rust
Stars
49.6k
Forks
2.4k
Avg merge
2d 1h
Merged PRs (30d)
458

Description

### Summary

flake8-annotations supports an options `--respect-type-ignore`. See [here](https://github.com/sco1/flake8-annotations?tab=readme-ov-file#--respect-type-ignore).
It would be great to have support for it in Ruff.

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked flake8-annotations documentation for `--respect-type-ignore`, then locate Ruff's annotation rules and configuration entry points. Done means Ruff supports the option and respects type-ignore comments as described in that documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.