Skip to content

Commit

Permalink
License checker: Replace incorrect push with append (#1268)
Browse files Browse the repository at this point in the history
Replace incorrect `push` with `append`

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
maltekliemann and mergify[bot] authored Feb 29, 2024
1 parent 3131130 commit 22992bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-license/src/check_license/copyright.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def push_year(self, year: int) -> None:
if year == self.years[-1].end + 1:
self.years[-1].end = year
else:
self.years.push(Years(year, year))
self.years.append(Years(year, year))


@dataclasses.dataclass
Expand Down

0 comments on commit 22992bc

Please sign in to comment.