Use upstream black

Aperta
#684 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 7 giorni

@dhruvarayasam ci sta già lavorando.

Dal 5/1/2025.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
45/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Start in pyproject.toml, where the black configuration excludes the ropetest directory, and look for # fmt: off markers around dedent()-ed strings in the Python sources. Confirm which black version is pinned and whether the upstream fix is released before changing anything. Done when the exclusion is removed, any unneeded # fmt: off markers are gone, and black runs cleanly over the repository.

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

Descrizione

cleanup good first issue
Description

Now that https://github.com/psf/black/pull/1879 is merged, once that PR is in a versioned release of black, we would be able to undo the hacks that were needed to work around black's previously broken handling of dedent()-ed strings.

  • We used to filter out ropetest from being blackened, this would no longer be needed
  • It may be possible to remove some #fmt: off markers
Lingua principale
Python
Stelle
2.2k
Fork
197
Merge medio
2g 13h
PR unite (30g)
5

Preparare l'ambiente

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 python-rope/rope

Tutte le issue di python-rope/rope

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.