Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,45 @@ ci:
autoupdate_schedule: 'quarterly'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v5.0.0
hooks:
- id: check-docstring-first
- id: end-of-file-fixer
- id: trailing-whitespace
- id: mixed-line-ending
- id: check-merge-conflict
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.0.0
rev: v2.7.0
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 7.1.1
hooks:
- id: flake8
additional_dependencies: [flake8-typing-imports==1.7.0]
- repo: https://github.com/PyCQA/autoflake
rev: v1.6.1
rev: v2.3.1
hooks:
- id: autoflake
args: ["--in-place", "--remove-all-unused-imports", "--ignore-init-module-imports", "--remove-unused-variables"]
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.8.0
rev: 24.10.0
hooks:
- id: black
- repo: https://github.com/asottile/pyupgrade
rev: v2.38.2
rev: v3.19.1
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.981
rev: v1.14.1
hooks:
- id: mypy
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
rev: 0.8.1
hooks:
- id: nbstripout
443 changes: 18 additions & 425 deletions docs/examples/constraining.ipynb

Large diffs are not rendered by default.

17 changes: 5 additions & 12 deletions docs/examples/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "cdf469e7-0110-4b75-97d5-69c25aa290f5",
"id": "0",
"metadata": {},
"source": [
"# Example\n",
Expand All @@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "4a694f4d-ba0d-4ea4-b15e-db17a2fa8e61",
"id": "1",
"metadata": {
"tags": []
},
Expand All @@ -36,7 +36,7 @@
},
{
"cell_type": "markdown",
"id": "a340fd27-85ef-4c3c-bfb5-f1783a9a166d",
"id": "2",
"metadata": {},
"source": [
"## Callbacks\n",
Expand All @@ -47,7 +47,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d6e20593-ad30-41cb-b6f7-baaf12c81c83",
"id": "3",
"metadata": {
"tags": []
},
Expand All @@ -61,7 +61,7 @@
},
{
"cell_type": "markdown",
"id": "08d19a3e-93da-4a4a-83c2-5e7abf1da4c6",
"id": "4",
"metadata": {},
"source": []
}
Expand All @@ -83,13 +83,6 @@
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.9"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
"state": {},
"version_major": 2,
"version_minor": 0
}
}
},
"nbformat": 4,
Expand Down
13 changes: 3 additions & 10 deletions docs/index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "1e97b3aa-03ad-4de0-9ad1-8e073e719b5d",
"id": "0",
"metadata": {},
"source": [
"# mpl-draggable-line's Documentation\n",
Expand All @@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "1fffca68-2e56-4025-a441-bbdfdb012465",
"id": "1",
"metadata": {
"tags": []
},
Expand All @@ -45,7 +45,7 @@
},
{
"cell_type": "markdown",
"id": "66919c8d-b22e-4168-ba29-01b2e6b91b8c",
"id": "2",
"metadata": {},
"source": [
"```{toctree}\n",
Expand Down Expand Up @@ -82,13 +82,6 @@
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.9"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
"state": {},
"version_major": 2,
"version_minor": 0
}
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ url = https://github.com/ianhi/mpl-draggable-line
author = Ian Hunt-Isaak
author_email = [email protected]
license = BSD-3-Clause
license_file = LICENSE
license_files = LICENSE
classifiers =
Development Status :: 2 - Pre-Alpha
License :: OSI Approved :: BSD License
Expand All @@ -20,7 +20,7 @@ project_urls =

[options]
packages = find:
python_requires = >=3.7
python_requires = >=3.9
zip_safe = False

[options.extras_require]
Expand Down
Loading