From 4362463f3cae01bc7f9dcbb1a294189a331615d4 Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Sun, 29 Oct 2023 20:40:57 +0100 Subject: [PATCH] Added types-six to the linting packages and unlocked all the linter versions. (#286) Added the from mypy demanded types-six package as a lint dependency. This should allow for a faster execution. --- .pre-commit-config.yaml | 1 + poetry.lock | 13 ++++++++++++- pyproject.toml | 23 ++++++++++++----------- 3 files changed, 25 insertions(+), 12 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8fdd737..3656af8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -69,6 +69,7 @@ repos: - types-requests - types-pyOpenSSL - types-cachetools + - types-six - loguru-mypy - repo: https://github.com/frnmst/md-toc diff --git a/poetry.lock b/poetry.lock index 4fd22d1..5990491 100644 --- a/poetry.lock +++ b/poetry.lock @@ -7118,6 +7118,17 @@ files = [ {file = "types_setuptools-68.2.0.0-py3-none-any.whl", hash = "sha256:77edcc843e53f8fc83bb1a840684841f3dc804ec94562623bfa2ea70d5a2ba1b"}, ] +[[package]] +name = "types-six" +version = "1.16.21.9" +description = "Typing stubs for six" +optional = false +python-versions = "*" +files = [ + {file = "types-six-1.16.21.9.tar.gz", hash = "sha256:746e6c25b8c48b3c8ab9efe7f68022839111de423d35ba4b206b88b12d75f233"}, + {file = "types_six-1.16.21.9-py3-none-any.whl", hash = "sha256:1591a09430a3035326da5fdb71692d0b3cc36b25a440cc5929ca6241f3984705"}, +] + [[package]] name = "types-tabulate" version = "0.9.0.3" @@ -7465,4 +7476,4 @@ web-server = ["dash", "dash-auth", "dash-bootstrap-components", "matplotlib", "s [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "b22cc7f99b522e085a9125871695b990ab834eb2bc4c125434a9cc7600440f17" +content-hash = "29d86976aa69232a2cc9a3ea7a217ec0a58b783e76c5e4b84ddd12f5beaef13c" diff --git a/pyproject.toml b/pyproject.toml index 5ce5986..f8713c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -105,20 +105,21 @@ sphinxcontrib-mermaid = "^0.9.2" sphinxcontrib-napoleon = "^0.7" [tool.poetry.group.lint.dependencies] -SQLAlchemy = {version = "^1.4.46", extras = ["mypy"]} -black = "^23.9.1" -loguru-mypy = "^0.0.4" -mypy = "^1.6.1" -pandas-stubs = "^2.0.3.230814" -pip-audit = "^2.6.1" -pip-licenses = "^4.3.2" +SQLAlchemy = {version = "*", extras = ["mypy"]} +black = "*" +loguru-mypy = "*" +mypy = "*" +pandas-stubs = "*" +pip-audit = "*" +pip-licenses = "*" ruff = "^0.1.3" -types-cachetools = "^5.3.0.7" +types-cachetools = "*" types-pyOpenSSL = "*" -types-requests = "^2.31.0.10" +types-requests = "*" types-setuptools = "*" -types-tabulate = "^0.9.0.3" -types-tqdm = "^4.66.0.3" +types-six = "*" +types-tabulate = "*" +types-tqdm = "*" [tool.poetry.group.test.dependencies] pytest = "^7.4.2"