From e6c32c741b8534bc1c2a7546b040eeb47ac96263 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20D=C3=B6rfelt?= Date: Wed, 26 Jun 2024 18:34:37 +0200 Subject: [PATCH] Revert "update dependencies and apply changes" This reverts commit d97653236462c7d9f838a4e03c4945427b059eed to stay compatible with python 3.8. --- joppy/api.py | 4 +++- requirements-dev.txt | 12 ++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/joppy/api.py b/joppy/api.py index 0964bfe..45b049e 100644 --- a/joppy/api.py +++ b/joppy/api.py @@ -296,7 +296,9 @@ def modify_revision(self, id_: str, **data: dt.JoplinTypes) -> None: class Search(ApiBase): - def search(self, **query: dt.JoplinTypes) -> Union[ + def search( + self, **query: dt.JoplinTypes + ) -> Union[ dt.DataList[dt.NoteData], dt.DataList[dt.NotebookData], dt.DataList[dt.ResourceData], diff --git a/requirements-dev.txt b/requirements-dev.txt index e6e2f85..8636e1f 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,11 +1,11 @@ # tests -coverage==7.5.4 -requests==2.32.3 +coverage==7.2.5 +requests==2.30.0 unittest-xml-reporting==3.2.0 xvfbwrapper==0.2.9 # linting -black==24.4.2 -flake8==7.1.0 -mypy==1.10.1 +black==23.3.0 +flake8==6.0.0 +mypy==1.2.0 # TODO: Use "--install-types" when https://github.com/python/mypy/issues/10600 is solved. -types-requests==2.32.3.0 \ No newline at end of file +types-requests==2.30.0.0 \ No newline at end of file