- Oct 18, 2022
-
-
David Douard authored
- pre-commit from 4.1.0 to 4.3.0, - codespell from 2.2.1 to 2.2.2, - black from 22.3.0 to 22.10.0 and - flake8 from 4.0.1 to 5.0.4. Also freeze flake8 dependencies. Also change flake8's repo config to github (the gitlab mirror being outdated).
-
- Apr 26, 2022
-
-
vlorentz authored
-
- Apr 08, 2022
-
-
Antoine Lambert authored
black is considered stable since release 22.1.0 and the version we are currently using is quite outdated and not compatible with click 8.1.0, so it is time to bump it to its latest stable release. Please note that E501 pycodestyle warning related to line length is replaced by B950 one from flake8-bugbear as recommended by black. https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length Related to T3922
-
- Dec 16, 2021
-
-
Antoine R. Dumont authored
This also drops: - spurious copyright headers to those files if present. - fix a type issue revealed by the new mypy Related to T3812
-
- Apr 27, 2021
-
-
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
-
- Jan 13, 2021
-
-
David Douard authored
This allows to enforce a specific version of java to be used. For example, since cassandra seems not to support java 14 yet, this allows to run tests on bullseye: JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/ pytest swh
-
- Sep 28, 2020
-
-
Nicolas Dandrimont authored
-
- Jul 15, 2020
-
-
Antoine R. Dumont authored
The current hard-coded value won't work for other distributions not relying on standard conventions (e.g. nixos...). This keeps the original behavior and only allow to diverge based on the environment variable SWH_CASSANDRA_BIN. This also: - fixes an issue on log path inexistence which raises. - renames the other env variable LOG_CASSANDRA to SWH_CASSANDRA_LOG (for consistency)
-
- Apr 08, 2020
-
-
David Douard authored
- blackify all the python files, - enable black in pre-commit, - add a black tox environment.
-
- Jan 31, 2020
-
-
vlorentz authored
-
- Dec 17, 2019
-
-
vlorentz authored
With no guarantees on the order or how partitioning is done, and with the new-style pagination.
-
- Dec 09, 2019
-
-
Antoine R. Dumont authored
-
- Nov 21, 2019
-
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
- Nov 14, 2019
-
-
Antoine R. Dumont authored
As this got migrated back to the swh.lister module
-
- Nov 13, 2019
-
- Oct 30, 2019
-
-
vlorentz authored
-
- Oct 14, 2019
-
-
David Douard authored
- use pytest instead of unittest.TestCase plumbing - extract data from the TestStorageData into a data `storage_data` module; this module also provide a simple helper `StorageData` class that mimics the original class (access by attributes), - implement a series of pytest fixtures for these storage specific tests, - get rid of most hypothesis-based tests, - replace usage of the use_url hypothesis boolean statetgy by pytest.mark.parametrize fixtures; this allows to prevent from the need of resetting the storage, since tests are truly executed twice (thus with a new swh_storage), - refactor test_db to use pytest-postgresql. Disable (xfail) tests from test_snapshot.py, test_api_client and test_in_memory for now. Fixes/refactorings come with following revisions.
-
- Oct 09, 2019
-
-
Antoine R. Dumont authored
Related D2082
-
- Oct 01, 2019
-
-
Stefano Zacchiroli authored
- Jul 10, 2019
-
-
vlorentz authored
-
- Dec 20, 2018
-
-
Antoine R. Dumont authored
This fixes issues regarding origin/origin_visit
-
- Nov 14, 2018
-
-
Antoine R. Dumont authored
Use: tox -e py3-slow
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
-
- Oct 24, 2018
-
-
Antoine R. Dumont authored
Also, without this, this failed because somehow, something is not finding requirements-test.txt. ``` Could not open requirements file: [Errno 2] No such file or directory: ' requirements-test.txt' ```
-
- Oct 22, 2018
-
-
David Douard authored
related to T1261
-