Details
- Reviewers
- None
- Group Reviewers
Reviewers - Commits
- rDSTOC490125912c65: mypy.ini: be less flaky w.r.t. the packages installed in tox
rDSTOC7c92c3304593: tox: anticipate mypy run to just after flake8
rDSTOCd8fa30bacfcc: storage.py: ignore typing of optional get_journal_writer import
rDSTOC976aab39d118: mypy: ignore swh.journal to work-around dependency loop
rDSTOCef7d2efc3609: init.py: switch to documented way of extending path
rDSTOC395e85deb570: typing: minimal changes to make a no-op mypy run pass
rDSTO7c92c3304593: tox: anticipate mypy run to just after flake8
rDSTO490125912c65: mypy.ini: be less flaky w.r.t. the packages installed in tox
rDSTOd8fa30bacfcc: storage.py: ignore typing of optional get_journal_writer import
rDSTO976aab39d118: mypy: ignore swh.journal to work-around dependency loop
rDSTOef7d2efc3609: init.py: switch to documented way of extending path
rDSTO395e85deb570: typing: minimal changes to make a no-op mypy run pass
Diff Detail
- Repository
- rDSTO Storage manager
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tox/640/
See console output for more information: https://jenkins.softwareheritage.org/job/DSTO/job/tox/640/console
swh/storage/tests/test_storage.py | ||
---|---|---|
47–49 | why? |
swh/storage/tests/test_storage.py | ||
---|---|---|
47–49 | because without it:
and mypy is right, as the base class and the original fixture from s.s.t.storage_testing are used together, they should have compatible signatures |
swh/storage/tests/test_storage.py | ||
---|---|---|
47–49 | You should remove these arguments to setUp from the parent classes then. I don't think we need it since douardda's refactoring of test classes months ago |
swh/storage/tests/test_storage.py | ||
---|---|---|
47–49 | Actually, wrong reference in mu previous message, the *args/**kwargs come from the DbTestFixture class in swh-core, not from swh-storage. I don't mind removing those args from there, but: (1) I cannot do that in this diff; (2) can @douardda confirm they should go? |
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tox/642/
See console output for more information: https://jenkins.softwareheritage.org/job/DSTO/job/tox/642/console
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tox/643/
See console output for more information: https://jenkins.softwareheritage.org/job/DSTO/job/tox/643/console
Build was aborted
Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tox/646/
See console output for more information: https://jenkins.softwareheritage.org/job/DSTO/job/tox/646/console
- typing: minimal changes to make a no-op mypy run pass
- init.py: switch to documented way of extending path
- mypy: ignore swh.journal to work-around dependency loop
- storage.py: ignore typing of optional get_journal_writer import
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tox/648/
See console output for more information: https://jenkins.softwareheritage.org/job/DSTO/job/tox/648/console
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/649/ for more details.
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/650/ for more details.
swh/storage/tests/test_storage.py | ||
---|---|---|
47–49 | I'm ok with adding these generic args here. In fact, I have a WIP to simply remove this 'data class' from the tests, but it's not ready for review yet. So meanwhile, the path of least work is just fine. |
- typing: minimal changes to make a no-op mypy run pass
- init.py: switch to documented way of extending path
- mypy: ignore swh.journal to work-around dependency loop
- storage.py: ignore typing of optional get_journal_writer import
- mypy.ini: be less flaky w.r.t. the packages installed in tox
- tox: anticipate mypy run to just after flake8
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/657/ for more details.