Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

[pre-commit.ci] pre-commit autoupdate #37

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
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
entry: pylint mkdocstrings_sourcelink
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
Expand Down
6 changes: 0 additions & 6 deletions mkdocstrings_sourcelink/test/test_mkdocstrings_sourcelink.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@


def test_basic_1():

MkDocGenerator(
_dir,
pages,
Expand All @@ -50,7 +49,6 @@ def test_basic_1():


def test_basic_2():

MkDocGenerator(
_dir,
pages,
Expand All @@ -61,7 +59,6 @@ def test_basic_2():


def test_dict_url():

MkDocGenerator(
_dir,
pages,
Expand All @@ -73,7 +70,6 @@ def test_dict_url():


def test_markdown():

MkDocGenerator(
_dir,
pages,
Expand All @@ -84,7 +80,6 @@ def test_markdown():


def test_tmp():

MkDocGenerator(
_dir,
pages,
Expand All @@ -95,7 +90,6 @@ def test_tmp():


def test_example():

MkDocGenerator(
_dir,
pages,
Expand Down
7 changes: 1 addition & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down