aboutcode-org / aboutcode-org/commoncode

Replace with standard libraries such as pathlib

Aperta
#101 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
4
Fork
23
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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`

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.