Skip to content

Commit e684d49

Browse files
committed
Linting
1 parent 52fb81b commit e684d49

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/pdfbaker/document.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,7 @@ def __init__(
102102
def determine_pages(self, config: dict[str, Any]) -> list[Path]:
103103
"""Determine pages for the give (document/variant) configuration."""
104104
if "pages" not in config:
105-
raise ConfigurationError(
106-
f'Cannot determine pages for "{self.name}"'
107-
)
105+
raise ConfigurationError(f'Cannot determine pages for "{self.name}"')
108106
pages = []
109107
for page_spec in config["pages"]:
110108
if isinstance(page_spec, dict) and "path" in page_spec:

0 commit comments

Comments
 (0)