Skip to content

Commit 332f3c3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 148c62c commit 332f3c3

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ long_description_content_type = text/markdown
77
url = https://github.com/isidentical/source
88
author = isidentical
99
author_email = [email protected]
10-
license_file = LICENSE.txt
10+
license_files = LICENSE.txt
1111
classifiers =
1212
Programming Language :: Python :: 3
1313
Programming Language :: Python :: 3 :: Only

source/protocols/base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,4 @@ def get_executor(self):
2626
with executor as pool:
2727
yield pool.map
2828

29-
def execute(self, orders: Tuple[Order]) -> Tuple[Order]:
30-
...
29+
def execute(self, orders: Tuple[Order]) -> Tuple[Order]: ...

source/providers/base.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
class BaseProvider:
88
SUPPORTED_QUALIFIERS: Tuple[Qualifier] = ()
99

10-
def provide(self, shard: Shard) -> Tuple[Order]:
11-
...
10+
def provide(self, shard: Shard) -> Tuple[Order]: ...
1211

1312

14-
class InsufficientResults(ValueError):
15-
...
13+
class InsufficientResults(ValueError): ...

0 commit comments

Comments
 (0)