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 Oct 20, 2023
1 parent c61d8a1 commit e3570c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion PyPDFForm/middleware/element.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""Contains element middleware."""

from typing import Union, Any
from typing import Any, Union


class Element:
Expand Down
5 changes: 1 addition & 4 deletions PyPDFForm/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ def read(self) -> bytes:
def sample_data(self) -> dict:
"""Returns a valid sample data that can be filled into the PDF form."""

return {
key: value.sample_value
for key, value in self.elements.items()
}
return {key: value.sample_value for key, value in self.elements.items()}

@property
def version(self) -> Union[str, None]:
Expand Down

0 comments on commit e3570c7

Please sign in to comment.