Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Sep 6, 2019
1 parent 94e7fa5 commit 801f9a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hypothesis-python/src/hypothesis/extra/numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,14 +600,14 @@ def byte_string_dtypes(endianness="?", min_len=1, max_len=16):
note_deprecation(
"generating byte string dtypes for unspecified length ('S0') "
"is deprecated. min_len will be 1 instead.",
since="RELEASEDAY"
since="RELEASEDAY",
)
min_len = 1
if max_len == 0:
note_deprecation(
"generating byte string dtypes for unspecified length ('S0') "
"is deprecated. max_len will be 1 instead.",
since="RELEASEDAY"
since="RELEASEDAY",
)
max_len = 1

Expand All @@ -629,14 +629,14 @@ def unicode_string_dtypes(endianness="?", min_len=1, max_len=16):
note_deprecation(
"generating unicode string dtypes for unspecified length ('U0') "
"is deprecated. min_len will be 1 instead.",
since="RELEASEDAY"
since="RELEASEDAY",
)
min_len = 1
if max_len == 0:
note_deprecation(
"generating unicode string dtypes for unspecified length ('U0') "
"is deprecated. max_len will be 1 instead.",
since="RELEASEDAY"
since="RELEASEDAY",
)
max_len = 1

Expand Down

0 comments on commit 801f9a1

Please sign in to comment.