tox -e mypy
Details
Diff Detail
- Repository
- rDJNL Journal infrastructure
- 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/DJNL/job/tox/269/
See console output for more information: https://jenkins.softwareheritage.org/job/DJNL/job/tox/269/console
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DJNL/job/tox/274/
See console output for more information: https://jenkins.softwareheritage.org/job/DJNL/job/tox/274/console
- typing: minimal changes to make a no-op mypy run pass
- init.py: switch to documented way of extending path
- tox: anticipate mypy run to just after flake8
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DJNL/job/tox/275/
See console output for more information: https://jenkins.softwareheritage.org/job/DJNL/job/tox/275/console
Build is green
See https://jenkins.softwareheritage.org/job/DJNL/job/tox/276/ for more details.
I don't think the expected content is that useful. The test would be easier to follow with just assert content_with_data.data == b'bar'.
Using explicit contents such as b'written before instantiation', b'written before with_data()', b'written after with_data()' instead of metasyntactic stuff would make the test even clearer.