Skip to content

Commit

Permalink
STY: pre-commit linting with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinHuttley committed Jan 19, 2025
1 parent 16e7d18 commit 932336f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/diverse_seq/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ def prep(
elif dvseqs_path.exists() and force_overwrite:
dvseqs_path.unlink()

if suffix.startswith("."):
suffix = suffix[1:]
suffix = suffix.removeprefix(".")

seq_format = dvs_util.get_seq_file_format(suffix)
if seq_format is None:
Expand Down

0 comments on commit 932336f

Please sign in to comment.