From fc0af70ab61b5fc16650b2f1ff41c0a07c7eab81 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 5 Jan 2024 10:27:45 +0100 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#158) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0) - [github.com/psf/black: 23.9.1 → 23.12.1](https://github.com/psf/black/compare/23.9.1...23.12.1) - [github.com/pycqa/isort: 5.12.0 → 5.13.2](https://github.com/pycqa/isort/compare/5.12.0...5.13.2) - [github.com/asottile/setup-cfg-fmt: v2.4.0 → v2.5.0](https://github.com/asottile/setup-cfg-fmt/compare/v2.4.0...v2.5.0) - [github.com/sirosen/check-jsonschema: 0.27.0 → 0.27.3](https://github.com/sirosen/check-jsonschema/compare/0.27.0...0.27.3) * Update pre-commit version * Update Python * typo --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Aliaksandr Yakutovich --- .github/workflows/ci.yml | 2 +- .pre-commit-config.yaml | 10 +++++----- setup.cfg | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 316bc70..968c8e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.11 - name: Install dependencies run: | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9a6f8a5..0c348c4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: check-json - id: check-yaml @@ -19,7 +19,7 @@ repos: - id: yamlfmt - repo: https://github.com/psf/black - rev: 23.9.1 + rev: 23.12.1 hooks: - id: black language_version: python3 # Should be a command that runs python3.6+ @@ -33,18 +33,18 @@ repos: - flake8-bugbear - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort args: [--profile, black, --filter-files] - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.4.0 + rev: v2.5.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/sirosen/check-jsonschema - rev: 0.27.0 + rev: 0.27.3 hooks: - id: check-github-workflows diff --git a/setup.cfg b/setup.cfg index 3744fda..36a6738 100644 --- a/setup.cfg +++ b/setup.cfg @@ -28,12 +28,12 @@ install_requires = ipywidgets~=7.6 traitlets~=5.0 widgetsnbextension<3.6.3 # Hotfix. Remove when #149 is fixed -python_requires = >=3.8 +python_requires = >=3.9 [options.extras_require] dev = bumpver==2022.1118 - pre-commit==2.15.0 + pre-commit==3.6.0 [flake8] ignore =