From c0c7b58a3f80962f173759a3df5588e058602c6f Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 12 Feb 2023 12:45:48 +0200 Subject: [PATCH] Update linters --- .github/workflows/python-lint.yml | 2 +- .pre-commit-config.yaml | 2 +- dev-requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-lint.yml b/.github/workflows/python-lint.yml index 05a8bd2..d88b8a8 100644 --- a/.github/workflows/python-lint.yml +++ b/.github/workflows/python-lint.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v3 with: - python-version: "3.10" + python-version: "3.11" - uses: isort/isort-action@master with: sortPaths: "./maubot" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4db1291..0de079e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v4.4.0 hooks: - id: trailing-whitespace exclude_types: [markdown] diff --git a/dev-requirements.txt b/dev-requirements.txt index 14b83e9..5cd14c2 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,3 +1,3 @@ pre-commit>=2.10.1,<3 isort>=5.10.1,<6 -black>=22.3.0,<23 +black>=23,<24