just put __init__.py files where we have .py files (plus subdirectories) (#10129)

* just put __init__.py files where we have .py files

* and the rest

* remove unused ignore
This commit is contained in:
Kyle Altendorf 2022-02-07 16:16:13 -05:00 committed by GitHub
parent b5f3122fc6
commit d404d0e92b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 2 additions and 4 deletions

0
benchmarks/__init__.py Normal file
View File

View File

@ -29,9 +29,7 @@ random.seed(123456789)
def rand_class_group_element() -> ClassgroupElement:
# TODO: address hint errors and remove ignores
# error: Argument 1 to "ClassgroupElement" has incompatible type "bytes"; expected "bytes100" [arg-type]
return ClassgroupElement(rand_bytes(100)) # type: ignore[arg-type]
return ClassgroupElement(rand_bytes(100))
def rand_vdf() -> VDFInfo:

View File

View File

View File

View File

View File

View File

View File

@ -35,7 +35,7 @@ def command(verbose, root_str):
stream_handler = logging.StreamHandler()
logger.addHandler(stream_handler)
tree_roots = ["chia", "tests"]
tree_roots = ["benchmarks", "build_scripts", "chia", "tests", "tools"]
failed = False
root = pathlib.Path(root_str).resolve()
directories = sorted(

0
tools/__init__.py Normal file
View File