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 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