From c2532279be936e0bebe60362b428298b00c7bb48 Mon Sep 17 00:00:00 2001 From: Raphael Hagen Date: Mon, 5 Aug 2024 13:43:46 -0600 Subject: [PATCH 1/4] bump ruff version --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a5670c75..35d0d9f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: "v0.4.7" + rev: "v0.5.6" hooks: # Run the linter. - id: ruff From 9308707ea3debdde9625f9abe82530afecf6d640 Mon Sep 17 00:00:00 2001 From: Raphael Hagen Date: Mon, 5 Aug 2024 13:57:13 -0600 Subject: [PATCH 2/4] downgrade ruff --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 35d0d9f0..8e7ef98d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: "v0.5.6" + rev: "v0.5.0" hooks: # Run the linter. - id: ruff From d2fb0f01cda29e4a5609677964acc9894f55a214 Mon Sep 17 00:00:00 2001 From: Raphael Hagen Date: Mon, 5 Aug 2024 13:59:04 -0600 Subject: [PATCH 3/4] test --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8e7ef98d..46e57bdd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,10 +27,10 @@ repos: exclude: "properties|asv_bench|docs" additional_dependencies: [ # Type stubs - types-python-dateutil, - types-pkg_resources, - types-PyYAML, - types-pytz, + # types-python-dateutil, + # types-pkg_resources, + # types-PyYAML, + # types-pytz, # Dependencies that are typed numpy, typing-extensions>=4.1.0, From e1b7b7c91018312f53e646cda4fe3f570e890064 Mon Sep 17 00:00:00 2001 From: Raphael Hagen Date: Mon, 5 Aug 2024 14:03:18 -0600 Subject: [PATCH 4/4] replaced types-pkg_resources with types-setuptools --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 46e57bdd..e1d03aac 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: "v0.5.0" + rev: "v0.5.6" hooks: # Run the linter. - id: ruff @@ -27,10 +27,10 @@ repos: exclude: "properties|asv_bench|docs" additional_dependencies: [ # Type stubs - # types-python-dateutil, - # types-pkg_resources, - # types-PyYAML, - # types-pytz, + types-python-dateutil, + types-setuptools, + types-PyYAML, + types-pytz, # Dependencies that are typed numpy, typing-extensions>=4.1.0,