abdelwahabram / abdelwahabram/shed

update Block

Offen
#14 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
0
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### current behavior:
File, Tree, Shell have alot of common methods

### how to fix:
move the common methods to the Block class and inherit from it

reference:
https://github.com/abdelwahabram/shed/blob/5519214028a14c99ea72047d1adf43fe6ccd598e/source/block.py#L3

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Look at the Block class in source/block.py and the File, Tree, Shell classes to identify common methods. Move those methods to Block and update the other classes to inherit from Block. Run existing tests to ensure nothing breaks.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
backend
Issue-Typ
Refactoring
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.