anki/pylib
Damien Elmes 676f4e74a8 store config in separate DB table
- mtime is tracked on each key individually, which will allow
merging of config changes when syncing in the future
- added col.(get|set|remove)_config()
- in order to support existing code that was mutating returned
values (eg col.conf["something"]["another"] = 5), the returned list/dict
will be automatically wrapped so that when the value is dropped, it
will save the mutated item back to the DB if it's changed. Code that
is fetching lists/dicts from the config like so:

col.conf["foo"]["bar"] = baz
col.setMod()

will continue to work in most case, but should be gradually updated to:

conf = col.get_config("foo")
conf["bar"] = baz
col.set_config("foo", conf)
2020-04-06 15:39:47 +10:00
..
anki store config in separate DB table 2020-04-06 15:39:47 +10:00
tests add flag to skip downgrade on collection close 2020-04-04 17:21:45 +10:00
tools update tag handling 2020-04-03 19:34:46 +10:00
.gitignore rework Fluent handling 2020-02-23 13:22:50 +10:00
.isort.cfg rework Fluent handling 2020-02-23 13:22:50 +10:00
.pylintrc rework Fluent handling 2020-02-23 13:22:50 +10:00
Makefile Created the GitHub Actions step Upload to PyPi to run only on 2020-04-02 02:57:34 -03:00
mypy.ini Fixed mypy and pylint not building on Windows 2020-03-17 19:48:16 -03:00
pyproject.toml Created the GitHub Actions step Upload to PyPi to run only on 2020-04-02 02:57:34 -03:00
requirements.dev switch to classes for hooks 2020-01-14 08:54:07 +10:00
setup.py Fixed double python version check for python_requires=">=3.7" 2020-04-02 12:31:12 -03:00