Skip to content

Commit

Permalink
update_version.py: use a Black-compatible rule for cvat/__init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SpecLad committed Oct 29, 2024
1 parent d162b3a commit 1e8da15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/update_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __str__(self) -> str:
return f"{self.major}.{self.minor}.{self.patch}-{self.prerelease}.{self.prerelease_number}"

def cvat_repr(self):
return f"({self.major}, {self.minor}, {self.patch}, '{self.prerelease}', {self.prerelease_number})"
return f'({self.major}, {self.minor}, {self.patch}, "{self.prerelease}", {self.prerelease_number})'

def compose_repr(self):
if self.prerelease != "final":
Expand Down

0 comments on commit 1e8da15

Please sign in to comment.