From eaf2f2128ca7095f4bfb14d86065efdadcfeff37 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 20:02:23 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 23.12.1 → 24.1.1](https://github.com/psf/black/compare/23.12.1...24.1.1) - [github.com/PyCQA/flake8: 6.1.0 → 7.0.0](https://github.com/PyCQA/flake8/compare/6.1.0...7.0.0) - [github.com/PyCQA/bandit: 1.7.6 → 1.7.7](https://github.com/PyCQA/bandit/compare/1.7.6...1.7.7) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ffc8d9c..9058011 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ exclude: '^$' fail_fast: false repos: - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.1.1 hooks: - id: black language_version: python3 @@ -15,7 +15,7 @@ repos: - id: isort language_version: python3 - repo: https://github.com/PyCQA/flake8 - rev: 6.1.0 + rev: 7.0.0 hooks: - id: flake8 additional_dependencies: [flake8-docstrings, flake8-debugger, flake8-bugbear, mccabe] @@ -28,7 +28,7 @@ repos: - id: check-yaml args: [--unsafe] - repo: https://github.com/PyCQA/bandit - rev: '1.7.6' + rev: '1.7.7' hooks: - id: bandit args: [--ini, .bandit] From 3109250c1fec59573c1221f79461ae7f3d880658 Mon Sep 17 00:00:00 2001 From: David Hoese Date: Mon, 5 Feb 2024 15:01:37 -0600 Subject: [PATCH 2/2] Limit CI pytest to <8 Lazy fixtures isn't supported --- continuous_integration/environment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/continuous_integration/environment.yaml b/continuous_integration/environment.yaml index 570a3c4..edd2ceb 100644 --- a/continuous_integration/environment.yaml +++ b/continuous_integration/environment.yaml @@ -10,6 +10,6 @@ dependencies: - aggdraw - pyshp - pyresample - - pytest + - pytest <8.0 - pytest-cov - pytest-lazy-fixture