Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Question: Why is only `NotIn` flagged?

Aperta
#3,998 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
tooling

Direzione di ricerca

Start by reproducing the reported examples (IsNot, AddAssign, NotIn, LessThan, and BaseBinaryOp) with codespell, then read the code or documentation that explains how it handles camel-case words. Done means explaining why NotIn is flagged while the other examples are not; the issue does not name a file or test.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

duplicate question

I have a file that contains many words using camel case, like
IsNot, AddAssign, NotIn, LessThan, and BaseBinaryOp.

The output of codespell is however unexpected.
I had expected many warnings, e.g., all words containing Op as Op is not an English word.

However, codespell only flags NotIn : NotIn ==> noting, not in, notion.
Why is only this camel case word reported?
E.g., why is IsNot ==> is not NOT reported?

Thanks in advance for your explanation!

Lingua principale
Python
Stelle
2.4k
Fork
531
Merge medio
15h 55m
PR unite (30g)
17

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di codespell-project/codespell

Tutte le issue di codespell-project/codespell

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.