Revision cc33dd35969299eb1400880a4bd9c82b2cb010fc authored by David Douard on 20 August 2020, 15:39:59 UTC, committed by David Douard on 24 August 2020, 14:58:17 UTC
if "check_config" is present in get_storage()'s kwargs, call the storage.check_config() method and raise an exception is the result fails. The storage.check_config() method is called with the content of the "check_config" config value (so expected value for this currently is `check_config={"check_write": <bool>}`).
1 parent 4dd9597
File | Mode | Size |
---|---|---|
bin | ||
docs | ||
sql | ||
swh | ||
.gitignore | -rw-r--r-- | 136 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-- | 46 bytes |
LICENSE | -rw-r--r-- | 34.3 KB |
MANIFEST.in | -rw-r--r-- | 242 bytes |
Makefile | -rw-r--r-- | 163 bytes |
Makefile.local | -rw-r--r-- | 69 bytes |
README.md | -rw-r--r-- | 4.6 KB |
conftest.py | -rw-r--r-- | 294 bytes |
mypy.ini | -rw-r--r-- | 1.2 KB |
pyproject.toml | -rw-r--r-- | 39 bytes |
pytest.ini | -rw-r--r-- | 392 bytes |
requirements-swh-journal.txt | -rw-r--r-- | 19 bytes |
requirements-swh.txt | -rw-r--r-- | 71 bytes |
requirements-test.txt | -rw-r--r-- | 318 bytes |
requirements.txt | -rw-r--r-- | 133 bytes |
setup.cfg | -rw-r--r-- | 247 bytes |
setup.py | -rwxr-xr-x | 2.5 KB |
tox.ini | -rw-r--r-- | 661 bytes |
Computing file changes ...