- Feb 19, 2021
-
-
vlorentz authored
Following the discussion on T3034, we decided to replace SWHID with two or three classes: * QualifiedSWHID to replace the existing SWHID (standard types + qualifiers) * CoreSWHID, for "core SWHID" only (standard types + no qualifiers) * ExtendedSWHID for internal use in Software Heritage (extra types + no qualifiers) Since migrating from SWHID will break existing code, this commit uses the opportunity to modernize it a little, ie.: * `keyword`-only constructor, to get rid of the hacky default values for `object_type` and `object_id` * enum instead of strings for the object type * `bytes` instead of an hex string for the object id * rename `metadata` to `qualifiers`
-
- Oct 02, 2020
-
-
Stefano Zacchiroli authored
-
- Apr 08, 2020
-
-
David Douard authored
- blackify all the python files, - enable black in pre-commit, - add a black tox environment.
-
- Nov 21, 2019
-
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
Allows us to call tests on things other than python3, with the same settings.
-
- Oct 09, 2019
-
-
Antoine R. Dumont authored
Related D2082
-
- Sep 28, 2019
-
-
Stefano Zacchiroli authored
-
- Sep 20, 2019
-
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
- Oct 23, 2018
-
-
David Douard authored
This prevent from requiring a too much recent tox version to fire the tests, especially this allows to run tests using stretch's tox version.
-
- Oct 18, 2018
-
-
David Douard authored
-
David Douard authored
-