From 0a0aedc09299dffe8653f1eb841150558be6f108 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Jun 2023 16:58:19 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- setup.cfg | 2 +- source/metadata.py | 2 -- source/providers/github.py | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) 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/metadata.py b/source/metadata.py index 0f652c2..9eec426 100644 --- a/source/metadata.py +++ b/source/metadata.py @@ -7,7 +7,6 @@ @dataclass(frozen=True) class Metadata: - name: str owner: str popularity: int @@ -25,6 +24,5 @@ def as_json(self) -> Dict[str, Any]: @dataclass class SemanticMetadata: - total_lines: int source_files: Tuple[Path] diff --git a/source/providers/github.py b/source/providers/github.py index 736e209..d03a988 100644 --- a/source/providers/github.py +++ b/source/providers/github.py @@ -14,7 +14,6 @@ class GithubSourceProvider(BaseProvider): - SUPPORTED_QUALIFIERS = (Qualifier.FRESH, Qualifier.POPULARITY) def provide(self, shard: Shard) -> Tuple[Order]: