Skip to content

Commit 4e89cf1

Browse files
committed
Fixed Flake8
1 parent 9fec474 commit 4e89cf1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

typings/imagehash/__init__.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This type stub file was generated by pyright.
33
44
https://github.com/JohannesBuchner/imagehash/issues/151
55
"""
6-
from __future__ import absolute_import, annotations, division, print_function
6+
from __future__ import absolute_import, division, print_function
77

88
from PIL import Image
99

@@ -80,7 +80,7 @@ class ImageMultiHash:
8080
def __ne__(self, other) -> bool:
8181
...
8282

83-
def __sub__(self, other, hamming_cutoff=..., bit_error_rate=...) -> int | float:
83+
def __sub__(self, other, hamming_cutoff=..., bit_error_rate=...) -> float:
8484
...
8585

8686
def __hash__(self) -> int:

typings/keyboard/_keyboard_event.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
This type stub file was generated by pyright.
33
https://github.com/boppreh/keyboard/issues/505
44
"""
5-
from __future__ import annotations
6-
75
from typing import Any, Literal
86

97
Unknown = Any

0 commit comments

Comments
 (0)