Path reach for jscpd, and for prettier given only docs
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 72/100
Rechercherichtung
Start with tools/jscpd.py and trace how tool paths are checked for reach; then inspect the formatter reach logic and the tests around ruff check LICENSE.md mentioned in #499. Add coverage for jscpd paths and formatters given only non-code files such as LICENSE.md or README.md. Done means both cases earn nothing and the reason names the path.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Problem
jscpd … README.mdandjscpd … nothing/both pass copy-paste-detection: jscpd's paths are never judged.prettier --check LICENSE.mdpasses code-formatting for a TypeScript project ("CI enforces the prettier formatting"). Markdown isn't a recorded source language, so the path isn't judged. #499 lists this as refused, but its test only coversruff check LICENSE.md.
Expected
- jscpd's paths go through the same reach check as other tools (
tools/jscpd.py). - A formatter given only files that aren't code of the unit (LICENSE.md, README.md) reaches no unit.
Done when
Both cases earn nothing, with the path named in the reason.
Split from #476. Checked against main at 4b4dbb6c on 2026-12-03: the cases above were reproduced with small fixtures or found in the code.
🤖 Generated with Claude Code
- Vorherrschende Sprache
- Python
- Sterne
- 4
- Forks
- 1
- Ø Merge
- 6 Std. 31 Min.
- Gemergte PRs (30 T.)
- 238
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus cpp-best-practices/project_validator
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
cpp-best-practices/project_validator#609 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
cpp-best-practices/project_validator#449 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 56/100
cpp-best-practices/project_validator#622 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
cpp-best-practices/project_validator#621 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 52/100
cpp-best-practices/project_validator#619 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in cpp-best-practices/project_validator
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
fossasia/eventyay-exhibition#465 · 3 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
area/webapp comp/desktop P2 type/bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
NousResearch/hermes-agent#163341 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
smart-village-solutions/smart-speech-flow#765 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bot-triaged module: bfloat16 module: cuda module: half module: numerical-stability triage review
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
Maintainer antworten meist innerhalb von 1 Tag