Skip to content

Commit

Permalink
Add linting
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelldls committed Oct 31, 2024
1 parent 9dcf684 commit 0b4507b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/thorlabs_mff_fastcs/__main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from pathlib import Path
from typing import Optional

import typer
from fastcs.connections.serial_connection import SerialConnectionSettings
Expand All @@ -25,7 +24,7 @@ def version_callback(value: bool):

@app.callback()
def main(
version: Optional[bool] = typer.Option(
version: bool | None = typer.Option(
None,
"--version",
callback=version_callback,
Expand Down

0 comments on commit 0b4507b

Please sign in to comment.