Skip to content

Commit 982b386

Browse files
[pre-commit.ci] pre-commit autoupdate (#2)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Tobias Raabe <[email protected]>
1 parent 7052f18 commit 982b386

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v3.3.0
3+
rev: v3.4.0
44
hooks:
55
- id: check-added-large-files
66
args: ['--maxkb=25']
@@ -10,7 +10,7 @@ repos:
1010
- id: debug-statements
1111
- id: end-of-file-fixer
1212
- repo: https://github.com/pre-commit/pygrep-hooks
13-
rev: v1.7.0
13+
rev: v1.7.1
1414
hooks:
1515
- id: python-check-blanket-noqa
1616
- id: python-check-mock-methods
@@ -22,20 +22,20 @@ repos:
2222
- id: rst-inline-touching-normal
2323
- id: text-unicode-replacement-char
2424
- repo: https://github.com/asottile/pyupgrade
25-
rev: v2.7.3
25+
rev: v2.10.0
2626
hooks:
2727
- id: pyupgrade
2828
args: [--py36-plus]
2929
- repo: https://github.com/asottile/reorder_python_imports
30-
rev: v2.3.6
30+
rev: v2.4.0
3131
hooks:
3232
- id: reorder-python-imports
3333
- repo: https://github.com/psf/black
3434
rev: 20.8b1
3535
hooks:
3636
- id: black
3737
- repo: https://github.com/asottile/blacken-docs
38-
rev: v1.8.0
38+
rev: v1.9.2
3939
hooks:
4040
- id: blacken-docs
4141
additional_dependencies: [black]
@@ -63,12 +63,12 @@ repos:
6363
hooks:
6464
- id: doc8
6565
- repo: https://github.com/econchick/interrogate
66-
rev: 1.3.1
66+
rev: 1.3.2
6767
hooks:
6868
- id: interrogate
6969
args: [-v, --fail-under=40, src, tests]
7070
- repo: https://github.com/codespell-project/codespell
71-
rev: v1.17.1
71+
rev: v2.0.0
7272
hooks:
7373
- id: codespell
7474
args: [-L=bringin]

tests/test_scan.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,11 @@ def test_includegraphics(tmp_path, image_ext):
9292
"""
9393
if image_ext == ".ps":
9494
pytest.xfail(
95-
".ps does not work with latexmk: https://tex.stackexchange.com/a/67904"
95+
".ps does not work with latexmk: https://tex.stackexchange.com/a/67904."
96+
)
97+
if image_ext == ".eps":
98+
pytest.xfail(
99+
".eps maybe needs \\graphicspath: https://tex.stackexchange.com/a/98886."
96100
)
97101

98102
source = """

0 commit comments

Comments
 (0)