Skip to content

Commit

Permalink
Add error to check
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobnissen committed Jan 8, 2025
1 parent 24410ef commit a5f2ebf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vamb/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ def __init__(
elif abundance_tsv is not None:
self.paths = AbundanceTSVPath(abundance_tsv)

def bad(x):
a = 1

Check failure on line 218 in vamb/__main__.py

View workflow job for this annotation

GitHub Actions / lint

Ruff (F841)

vamb/__main__.py:218:3: F841 Local variable `a` is assigned to but never used
return 1

class BasicTrainingOptions:
__slots__ = ["num_epochs", "starting_batch_size", "batch_steps"]
Expand Down

0 comments on commit a5f2ebf

Please sign in to comment.