divvy dev suggestions

Aperta
#527 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Search the divvy implementation for templates_folder, write, and write_script, then trace how the divcfg path and the divvy write command use them. Confirm whether templates_folder has callers and determine the affected references before deprecating it or renaming write to write_config; done means the API and command behavior are consistent.

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

Descrizione

enhancement

As I was fixing a divvy bug with template paths, I came up with these two suggestions to improve developer experience on divvy code

  • def templates_folder(self): - should be deprecated, since we actually specify the path within the divcfg; so this is never used!
  • def write(self, filename=None): -- should be renamed to write_config? It's confusing because this is not writing the script, which is done by write_script, even though there is a divvy write. In other words, divvy write calls write_script, not write, which is non-parallel.
Lingua principale
Python
Stelle
25
Fork
7
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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 pepkit/looper

Tutte le issue di pepkit/looper

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.