Add error codes for additional strictness flags
Open
Nobody has claimed this yet.
feature
priority-1-normal
topic-error-reporting
- Dominant language
- Python
- Stars
- 20.6k
- Forks
- 3.3k
- PR merge metrics
- PR metrics pending
Description
Various strictness options such as --disallow-subclassing-any generate errors with the misc code. It would be better to give all or most of them specific error codes, so that users could more easily look up the reason for the error in the documentation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the handling for strictness flags such as --disallow-subclassing-any and the diagnostics that currently use the misc code. Review how error codes are documented, then determine a bounded set of strictness errors to update. Done means the selected errors have specific codes and those codes are documented for users.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100