openedx / openedx/code-annotations

Ensure only defined annotations are allowed

Open
#91 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5
Forks
13
Avg merge
18h 26m
Merged PRs (30d)
4

Description

At this time, users are not given any linting warnings when undefined annotations are used, including misspellings.

Additional Notes:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with edx_lint/pylint/annotations_check.py around line 291 to understand the existing linting entry point. Review issue #89's discussion about comments between annotations, then define done as emitting a warning when an annotation name is undefined or misspelled, such as toggle_warnings instead of toggle_warning.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.