diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b25407e..8fe7d6f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,15 +2,15 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/psf/black - rev: 22.12.0 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/PyCQA/isort - rev: 5.11.4 + rev: 5.13.2 hooks: - id: isort additional_dependencies: [toml] - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.2.0 + rev: v2.7.0 hooks: - id: setup-cfg-fmt diff --git a/setup.cfg b/setup.cfg index ede4675..b77bca5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,7 @@ long_description_content_type = text/markdown url = https://github.com/isidentical/source author = isidentical author_email = isidentical@gmail.com -license_file = LICENSE.txt +license_files = LICENSE.txt classifiers = Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only diff --git a/source/protocols/base.py b/source/protocols/base.py index b2a7c79..63ca959 100644 --- a/source/protocols/base.py +++ b/source/protocols/base.py @@ -26,5 +26,4 @@ def get_executor(self): with executor as pool: yield pool.map - def execute(self, orders: Tuple[Order]) -> Tuple[Order]: - ... + def execute(self, orders: Tuple[Order]) -> Tuple[Order]: ... diff --git a/source/providers/base.py b/source/providers/base.py index cd54b4e..5de5a4f 100644 --- a/source/providers/base.py +++ b/source/providers/base.py @@ -7,9 +7,7 @@ class BaseProvider: SUPPORTED_QUALIFIERS: Tuple[Qualifier] = () - def provide(self, shard: Shard) -> Tuple[Order]: - ... + def provide(self, shard: Shard) -> Tuple[Order]: ... -class InsufficientResults(ValueError): - ... +class InsufficientResults(ValueError): ...