You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Replace with standard libraries such as pathlib #101
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:
I understand why this code was written, because pathlib was added in Python 3.4, around the same time that Scancode was started, so it was probably necessary back then. But it has been years, so probably it is good time to see if the code can be retired.
Activity
armijnhemel commentedon Apr 24, 2026
I understand why this code was written, because
pathlibwas added in Python 3.4, around the same time that Scancode was started, so it was probably necessary back then. But it has been years, so probably it is good time to see if the code can be retired.