Skip to content
Snippets Groups Projects
  1. Jun 14, 2023
    • Nicolas Dandrimont's avatar
      Fix tox.ini syntax for 4 for the main test environment · b6446c1e
      Nicolas Dandrimont authored
      When parsing the configuration, tox would complain about the unfollowed
      line continuation (which is what happens when the testenv was qualified
      with neither full nor minimal).
      
      Moving {posargs} to be unqualified allows the line continuation
      character to always have something behind it.
      b6446c1e
  2. Feb 17, 2023
  3. Feb 16, 2023
  4. Oct 18, 2022
  5. Apr 26, 2022
  6. Apr 08, 2022
  7. Dec 16, 2021
  8. May 11, 2021
  9. Apr 28, 2021
    • Antoine Lambert's avatar
      tox: Add sphinx environments to check sane doc build · f7e9d5c2
      Antoine Lambert authored
      Enable to check package documentation can be built without producing
      sphinx warnings.
      
      The sphinx environment is designed to be used in continuous integration
      in order to prevent breaking documentation build when committing changes.
      
      The sphinx-dev environment is designed to be used inside a full swh
      development environment.
      
      Related to T3258
      v2.4.1
      f7e9d5c2
  10. Apr 12, 2021
  11. Apr 08, 2021
  12. Feb 19, 2021
    • vlorentz's avatar
      Add new class QualifiedSWHID to replace SWHID, and deprecate the latter. · 690b7f82
      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`
      690b7f82
  13. Oct 02, 2020
  14. Apr 08, 2020
    • David Douard's avatar
      Enable black · bf3f1cec
      David Douard authored
      - blackify all the python files,
      - enable black in pre-commit,
      - add a black tox environment.
      bf3f1cec
  15. Nov 21, 2019
  16. Oct 09, 2019
  17. Sep 28, 2019
  18. Sep 20, 2019
  19. Oct 23, 2018
  20. Oct 18, 2018
Loading