Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rhugonnet committed Jan 11, 2024
1 parent 39e1179 commit a4ece60
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import os
import re
import warnings
from copy import copy

import pytest
import yaml # type: ignore
Expand Down Expand Up @@ -68,7 +67,11 @@ def test_deprecate(self, deprecation_increment: int | None, details: str | None)
removal_version_tuple = (current_version.major, current_version.minor + deprecation_increment, 0)
# Otherwise, increment micro version
else:
removal_version_tuple = (current_version.major, current_version.minor, current_version.micro + deprecation_increment)
removal_version_tuple = (
current_version.major,
current_version.minor,
current_version.micro + deprecation_increment,
)

# Convert to version
removal_version = Version(".".join([str(v) for v in removal_version_tuple]))
Expand Down

0 comments on commit a4ece60

Please sign in to comment.