Autofix S101
Open
fixes
needs-decision
- Dominant language
- Rust
- Stars
- 49.6k
- Forks
- 2.4k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 414
Description
code: `assert x != 0`
ruff: 0.0.291
command: `ruff check --fix --fixable S101 .`
error: `S101 Use of `assert` detected`
This is an easy fix to substitute in the code specially when opted-in by the developer (if not automatically)
Contributor guide
Research direction
Start by reproducing the provided `assert x != 0` snippet with `ruff check --fix --fixable S101 .` using Ruff 0.0.291. Determine what safe autofix behavior is intended when developers opt in, and verify the resulting command output against the issue's stated S101 diagnostic; the issue does not name implementation files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100