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

Merged
merged 2 commits into from
Oct 19, 2024
Merged
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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ exclude: '^docs/|\.tox|\.git|venv|^dist'

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml

- repo: https://github.com/Zac-HD/shed
rev: 2024.3.1
rev: 2024.10.1
hooks:
- id: shed
additional_dependencies: [ 'black~=24.3' ]
Expand All @@ -22,7 +22,7 @@ repos:
args: [ --max-line-length, '120' , --ignore, 'E,W']

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.1
rev: v1.11.2
hooks:
- id: mypy
args: [ --ignore-missing-imports, --check-untyped-defs, --disallow-incomplete-defs ]
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ envlist =

[gh-actions]
python =
3.8: py38, lint, docs
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.12: py312, lint, docs

[testenv]
deps =
Expand Down Expand Up @@ -48,7 +48,6 @@ commands = pre-commit run --all-files --show-diff-on-failure

[testenv:docs]
extras = doc
basepython = python3.8
commands = sphinx-build -d "{toxworkdir}/docs_doctree" docs "{toxworkdir}/docs_out" --color -W -bhtml {posargs}
python -c 'import pathlib; print("documentation available under file://\{0\}".format(pathlib.Path(r"{toxworkdir}") / "docs_out" / "index.html"))'

Expand Down
Loading