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