Skip to content

Commit

Permalink
[skip ci]: black/isort
Browse files Browse the repository at this point in the history
  • Loading branch information
black-isort-bot committed Jun 11, 2023
1 parent e6d662e commit 1dfa3ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion PyPDFForm/core/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
from . import constants, utils
from .patterns import (DROPDOWN_CHOICE_PATTERNS, ELEMENT_ALIGNMENT_PATTERNS,
ELEMENT_KEY_PATTERNS, ELEMENT_TYPE_PATTERNS,
TEXT_FIELD_APPEARANCE_PATTERNS, TEXT_FIELD_FLAG_PATTERNS)
TEXT_FIELD_APPEARANCE_PATTERNS,
TEXT_FIELD_FLAG_PATTERNS)


def remove_all_elements(pdf: bytes) -> bytes:
Expand Down
4 changes: 3 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ def sejda_template(pdf_samples):

@pytest.fixture
def sejda_template_complex(pdf_samples):
with open(os.path.join(pdf_samples, "sample_template_sejda_complex.pdf"), "rb+") as f:
with open(
os.path.join(pdf_samples, "sample_template_sejda_complex.pdf"), "rb+"
) as f:
return f.read()


Expand Down

0 comments on commit 1dfa3ea

Please sign in to comment.