Skip to content
This repository was archived by the owner on Apr 11, 2025. It is now read-only.

Commit 1dac67a

Browse files
committed
Leftover pre-commit fixes
1 parent 87a910f commit 1dac67a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

camelot/core.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,8 +686,7 @@ def __getitem__(self, idx):
686686
return self._tables[idx]
687687

688688
def __iter__(self):
689-
for t in self._tables:
690-
yield t
689+
yield from self._tables
691690

692691
@staticmethod
693692
def _format_func(table, f):

docs/user/install-deps.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ MacOS
2121
2222
$ brew install ghostscript tcl-tk
2323
24-
.. note::
24+
.. note::
2525
You might encounter the problem that the ghostscript module cannot be found. This can be fixed with the following commands.
2626

2727
``mkdir -p ~/lib``
2828

29-
``ln -s "$(brew --prefix gs)/lib/libgs.dylib" ~/lib``
29+
``ln -s "$(brew --prefix gs)/lib/libgs.dylib" ~/lib``
3030

3131
Windows
3232
^^^^^^^

tests/test_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Test to check intersection logic when no intersection area returned."""
2+
23
import os
34

45
from pdfminer.converter import PDFPageAggregator

0 commit comments

Comments
 (0)