Skip to content

Commit

Permalink
Merge pull request #138 from ClimateImpactLab/ruff_update
Browse files Browse the repository at this point in the history
ruff upgrade with minor style cleanup
  • Loading branch information
brews authored Sep 1, 2023
2 parents 4231eaf + f592b9a commit b3d7943
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
numpy==1.25.2
pytest==7.4.0
pytest-cov==4.1.0
ruff==0.0.282
ruff==0.0.287
3 changes: 1 addition & 2 deletions src/parameterize_jobs/parameterize_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ def __mul__(self, other):

def __iter__(self):
for c in self._components:
for s in c:
yield s
yield from c

def __len__(self):
return sum([len(c) for c in self._components])
Expand Down

0 comments on commit b3d7943

Please sign in to comment.