https://github.com/SoftwareHeritage/swh-model
Revision 10b069921e74f0d0411fb105349471e0f9a79f29 authored by David Douard on 12 March 2020, 15:01:55 UTC, committed by David Douard on 01 April 2020, 08:57:07 UTC
- add a validator for negative_utc (can be True iff offset is 0),
- update the timestamps_with_timezone hypothesis strategy,
- add low-level tests for it.
1 parent ac9d4c8
History
Tip revision: 10b069921e74f0d0411fb105349471e0f9a79f29 authored by David Douard on 12 March 2020, 15:01:55 UTC
model: improve a bit the TimestampWithTimezone model
Tip revision: 10b0699
File Mode Size
bin
docs
swh
.gitignore -rw-r--r-- 137 bytes
.pre-commit-config.yaml -rw-r--r-- 1.1 KB
AUTHORS -rw-r--r-- 112 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.3 KB
CONTRIBUTORS -rw-r--r-- 31 bytes
LICENSE -rw-r--r-- 34.3 KB
MANIFEST.in -rw-r--r-- 157 bytes
Makefile -rw-r--r-- 163 bytes
Makefile.local -rw-r--r-- 24 bytes
README.md -rw-r--r-- 598 bytes
mypy.ini -rw-r--r-- 520 bytes
pytest.ini -rw-r--r-- 58 bytes
requirements-cli.txt -rw-r--r-- 23 bytes
requirements-test.txt -rw-r--r-- 26 bytes
requirements.txt -rw-r--r-- 291 bytes
setup.py -rwxr-xr-x 2.4 KB
tox.ini -rw-r--r-- 375 bytes

README.md

back to top