aboutcode-org / aboutcode-org/commoncode

Replace with standard libraries such as pathlib

Offen
#101 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
4
Forks
23
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

A lot of the code in certain files, such as `src/commoncode/paths.py` and `src/commoncode/filetype.py` and possible others can be replaced by standard methods from the `pathlib` module. This has a few benefits:

1. less maintenance on your part
2. `pathlib` has seen more testing than your code
3. possible optimisations in `pathlib`

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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