code-yeongyu / code-yeongyu/sisyphus-private

Make comment checker to be polymorphic

Open
#41 9 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
16
Forks
2
PR merge metrics
No merged PRs in 30d

Description

The comment checker in the hook currently only detects Python code, but it needs to support various languages.

Look for whether Python has a library that can detect this (finding comments via static analysis)

Or if it can't be done in Python, look for examples of whether other languages have something (wouldn't something like ast-grep work?)

If possible, it should be changed to an approach that supports this polymorphically

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the hook's current Python-only comment checker and document how it detects comments. Investigate Python static-analysis libraries and the ast-grep approach for supporting multiple languages. Done means the checker uses a polymorphic approach that can detect comments across the required languages, with its supported scope documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.