Skip to content

Commit e38b375

Browse files
authored
Merge pull request #85 from ghazi-git/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 3d1494b + a037cca commit e38b375

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ exclude: '^docs/|\.tox|\.git|venv|^dist'
22

33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.6.0
5+
rev: v5.0.0
66
hooks:
77
- id: trailing-whitespace
88
- id: end-of-file-fixer
99
- id: check-yaml
1010

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

2424
- repo: https://github.com/pre-commit/mirrors-mypy
25-
rev: v1.11.1
25+
rev: v1.11.2
2626
hooks:
2727
- id: mypy
2828
args: [ --ignore-missing-imports, --check-untyped-defs, --disallow-incomplete-defs ]

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ envlist =
1616

1717
[gh-actions]
1818
python =
19-
3.8: py38, lint, docs
19+
3.8: py38
2020
3.9: py39
2121
3.10: py310
2222
3.11: py311
23-
3.12: py312
23+
3.12: py312, lint, docs
2424

2525
[testenv]
2626
deps =
@@ -48,7 +48,6 @@ commands = pre-commit run --all-files --show-diff-on-failure
4848

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

0 commit comments

Comments
 (0)