diff --git a/tools/map_syncer/map_syncer_test.py b/tools/map_syncer/map_syncer_test.py index a946e24..60537cf 100644 --- a/tools/map_syncer/map_syncer_test.py +++ b/tools/map_syncer/map_syncer_test.py @@ -322,7 +322,8 @@ def test_sync_files_deletes_only_old(live_maps_url: str, fs: FakeFilesystem) -> assert fs.exists(d / "map_old_1.sd7") assert not fs.exists(d / "map_old_2.sd7") assert cast( - Dict[str, int], json.loads(fs.get_object(d / "tombstones.json").contents) + Dict[str, int], + json.loads(fs.get_object(d / "tombstones.json").contents or "{}"), ) == { "map_old_1.sd7": initial_tombstones["map_old_1.sd7"], } diff --git a/tools/map_syncer/requirements.txt b/tools/map_syncer/requirements.txt index 28682ee..ea1b328 100644 --- a/tools/map_syncer/requirements.txt +++ b/tools/map_syncer/requirements.txt @@ -1,11 +1,11 @@ -black>=23.3.0 +black>=23.11.0 isort>=5.12.0 -mypy>=1.4.1 +mypy==1.7.1 paho-mqtt>=1.6.1 -pyfakefs>=5.2.2 +pyfakefs>=5.3.1 pytest-httpserver>=1.0.8 -pytest-mock>=3.11.1 -pytest-mqtt>=0.2.0 -pytest>=7.4.0 -ruff>=0.0.277 -types-paho-mqtt>=1.6.0.6 +pytest-mock>=3.12.0 +pytest-mqtt>=0.3.1 +pytest>=7.4.3 +ruff>=0.1.6 +types-paho-mqtt>=1.6.0.7