Skip to content

Commit

Permalink
Pleasing ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas-C committed Feb 7, 2025
1 parent b57870e commit 00e6592
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pdfly/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def update_offsets(
resolve_path=True,
),
],
file_out: Path = typer.Option(None, "-o", "--output"),
file_out: Path = typer.Option(..., "-o", "--output"), # noqa
encoding: str = typer.Option(
"ISO-8859-1",
help="Encoding used to read and write the files, e.g. UTF-8.",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
with open(VERSIONFILE) as fp:
verstrline = fp.read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
mo = re.search(VSRE, verstrline, re.MULTILINE)
if mo:
verstr = mo.group(1)
else:
Expand Down

0 comments on commit 00e6592

Please sign in to comment.