From daaaf9470bcb7f3f43c2005f14db24d86beb0b0d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Apr 2023 23:06:05 +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: 21.10b0 → 23.3.0](https://github.com/psf/black/compare/21.10b0...23.3.0) - [github.com/PyCQA/isort: 5.10.0 → 5.12.0](https://github.com/PyCQA/isort/compare/5.10.0...5.12.0) - [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.4.0) - [github.com/asottile/setup-cfg-fmt: v1.19.0 → v2.2.0](https://github.com/asottile/setup-cfg-fmt/compare/v1.19.0...v2.2.0) - [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.4.0) - [github.com/PyCQA/pylint: v2.11.1 → v3.0.0a6](https://github.com/PyCQA/pylint/compare/v2.11.1...v3.0.0a6) - [github.com/PyCQA/pydocstyle: 6.1.1 → 6.3.0](https://github.com/PyCQA/pydocstyle/compare/6.1.1...6.3.0) --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 04c3694..958440c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,28 +1,28 @@ repos: - repo: https://github.com/psf/black - rev: '21.10b0' + rev: '23.3.0' hooks: - id: black - repo: https://github.com/PyCQA/isort - rev: '5.10.0' # Use the revision sha / tag you want to point at + rev: '5.12.0' # Use the revision sha / tag you want to point at hooks: - id: isort - repo: https://github.com/pre-commit/pre-commit-hooks - rev: 'v4.0.1' + rev: 'v4.4.0' hooks: - id: check-added-large-files - repo: https://github.com/asottile/setup-cfg-fmt - rev: 'v1.19.0' + rev: 'v2.2.0' hooks: - id: setup-cfg-fmt - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 # Use the ref you want to point at + rev: v4.4.0 # Use the ref you want to point at hooks: - id: trailing-whitespace - id: check-yaml exclude: docs/mkdocs.yml - repo: https://github.com/PyCQA/pylint - rev: 'v2.11.1' + rev: 'v3.0.0a6' hooks: - id: pylint name: pylint @@ -30,7 +30,7 @@ repos: pass_filenames: false always_run: true - repo: https://github.com/PyCQA/pydocstyle - rev: '6.1.1' + rev: '6.3.0' hooks: - id: pydocstyle name: pydocstyle From c51ab28dddb05d5f6d45feff96c2ba3efbed9d77 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Apr 2023 23:06:15 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../test/test_mkdocstrings_sourcelink.py | 6 ------ setup.cfg | 7 +------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/mkdocstrings_sourcelink/test/test_mkdocstrings_sourcelink.py b/mkdocstrings_sourcelink/test/test_mkdocstrings_sourcelink.py index 7a83941..bf7138c 100644 --- a/mkdocstrings_sourcelink/test/test_mkdocstrings_sourcelink.py +++ b/mkdocstrings_sourcelink/test/test_mkdocstrings_sourcelink.py @@ -40,7 +40,6 @@ def test_basic_1(): - MkDocGenerator( _dir, pages, @@ -50,7 +49,6 @@ def test_basic_1(): def test_basic_2(): - MkDocGenerator( _dir, pages, @@ -61,7 +59,6 @@ def test_basic_2(): def test_dict_url(): - MkDocGenerator( _dir, pages, @@ -73,7 +70,6 @@ def test_dict_url(): def test_markdown(): - MkDocGenerator( _dir, pages, @@ -84,7 +80,6 @@ def test_markdown(): def test_tmp(): - MkDocGenerator( _dir, pages, @@ -95,7 +90,6 @@ def test_tmp(): def test_example(): - MkDocGenerator( _dir, pages, diff --git a/setup.cfg b/setup.cfg index ce39709..ddb2bf2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -10,14 +10,9 @@ classifiers = License :: OSI Approved :: Apache Software License Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 [options] -python_requires = >=3.6 +python_requires = >=3.7 [tool.isort] multi_line_output = 3