Skip to content

Commit 8cff806

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a7622de commit 8cff806

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/rfc3986/validators.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,9 @@ def subauthority_component_is_valid(
435435
return True
436436

437437
try:
438-
port = int(subauthority_dict["port"]) # pyright: ignore[reportArgumentType] # Guarded by "except TypeError".
438+
port = int(
439+
subauthority_dict["port"]
440+
) # pyright: ignore[reportArgumentType] # Guarded by "except TypeError".
439441
except TypeError:
440442
# If the port wasn't provided it'll be None and int(None) raises a
441443
# TypeError

0 commit comments

Comments
 (0)