Skip to content

Commit

Permalink
⬆️ UPGRADE: Autoupdate pre-commit config (#88)
Browse files Browse the repository at this point in the history
* ⬆️ UPGRADE: Autoupdate pre-commit config

* ⬆️ UPGRADE: Autoupdate pre-commit config

* ⬆️ UPGRADE: Autoupdate pre-commit config

* ⬆️ UPGRADE: Autoupdate pre-commit config

* ⬆️ UPGRADE: Autoupdate pre-commit config

* ⬆️ UPGRADE: Autoupdate pre-commit config

* ⬆️ Update .readthedocs.yml

---------

Co-authored-by: s-weigand <s-weigand@users.noreply.github.com>
  • Loading branch information
s-weigand and s-weigand committed Jul 21, 2023
1 parent e7070ca commit c6fc38a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
args: [--remove]

- repo: https://github.com/asottile/pyupgrade
rev: v3.4.0
rev: v3.9.0
hooks:
- id: pyupgrade
args: [--py36-plus]
Expand All @@ -22,24 +22,24 @@ repos:
- id: isort

- repo: https://github.com/python/black
rev: 23.3.0
rev: 23.7.0
hooks:
- id: black
language_version: python3

- repo: https://github.com/asottile/yesqa
rev: v1.4.0
rev: v1.5.0
hooks:
- id: yesqa
additional_dependencies: [flake8-docstrings]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.9-for-vscode # Use the sha or tag you want to point at
rev: v3.0.0 # Use the sha or tag you want to point at
hooks:
- id: prettier

- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.3.0
rev: v2.4.0
hooks:
- id: setup-cfg-fmt
args: ["--include-version-classifiers"]
Expand All @@ -51,7 +51,7 @@ repos:
additional_dependencies: [flake8-comprehensions, flake8-2020]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.3.0
rev: v1.4.1
hooks:
- id: mypy
exclude: "^(docs|tests/dummy_packages)"
Expand Down Expand Up @@ -96,7 +96,7 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
rev: v2.2.5
hooks:
- id: codespell
types: [file]
Expand Down
14 changes: 10 additions & 4 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
version: 2

formats: all

sphinx:
configuration: docs/conf.py

build:
image: latest
os: ubuntu-22.04
tools:
python: "3.10"

python:
version: 3
install:
- requirements: docs/requirements.txt
- method: pip
path: .
system_packages: true
formats: all
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ classifiers =
Natural Language :: English
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand All @@ -32,7 +31,7 @@ project_urls =
packages = find:
install_requires =
importlib-metadata>=3.4.0;python_version < '3.8'
python_requires = >=3.7
python_requires = >=3.8
include_package_data = True
setup_requires =
setuptools>=41.2
Expand Down

0 comments on commit c6fc38a

Please sign in to comment.