diff --git a/.gitignore b/.gitignore index 7853142..dfead94 100644 --- a/.gitignore +++ b/.gitignore @@ -160,4 +160,5 @@ cython_debug/ .idea/ # mdrs-cli -.neurodatacli.config \ No newline at end of file +.neurodatacli.config +poetry.toml \ No newline at end of file diff --git a/mdrsclient/config.py b/mdrsclient/config.py index 3768511..b344201 100644 --- a/mdrsclient/config.py +++ b/mdrsclient/config.py @@ -2,7 +2,7 @@ import configparser import os from typing import Final -import validators # type: ignore +import validators from mdrsclient.exceptions import IllegalArgumentException from mdrsclient.settings import CONFIG_DIRNAME @@ -41,7 +41,7 @@ class ConfigFile: @url.setter def url(self, url: str) -> None: - if not validators.url(url): # type: ignore + if not validators.url(url): raise IllegalArgumentException("malformed URI sequence") self.__load() if self.__config.has_section(self.remote): diff --git a/pyproject.toml b/pyproject.toml index 04ee151..34b4838 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "mdrs-client-python" -version = "1.3.9" +version = "1.3.10" description = "The mdrs-client-python is python library and a command-line client for up- and downloading files to and from MDRS based repository." authors = ["Yoshihiro OKUMURA "] license = "MIT" @@ -26,10 +26,10 @@ python = "^3.10" requests = "^2.32.3" requests-toolbelt = "^1.0.0" python-dotenv = "^1.0.1" -pydantic = "^2.9.2" -pydantic-settings = "^2.6.0" -PyJWT = "^2.9.0" -validators = "^0.33.0" +pydantic = "^2.10.4" +pydantic-settings = "^2.7.0" +PyJWT = "^2.10.1" +validators = "^0.34.0" [tool.poetry.group.dev.dependencies] black = "^24.10.0"