mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-11-24 16:26:02 +03:00
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:
parent
b5f3122fc6
commit
d404d0e92b
0
benchmarks/__init__.py
Normal file
0
benchmarks/__init__.py
Normal 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:
|
||||
|
0
build_scripts/__init__.py
Normal file
0
build_scripts/__init__.py
Normal file
0
build_scripts/npm_linux_deb/__init__.py
Normal file
0
build_scripts/npm_linux_deb/__init__.py
Normal file
0
build_scripts/npm_linux_rpm/__init__.py
Normal file
0
build_scripts/npm_linux_rpm/__init__.py
Normal file
0
build_scripts/npm_macos/__init__.py
Normal file
0
build_scripts/npm_macos/__init__.py
Normal file
0
build_scripts/npm_macos_m1/__init__.py
Normal file
0
build_scripts/npm_macos_m1/__init__.py
Normal file
0
build_scripts/npm_windows/__init__.py
Normal file
0
build_scripts/npm_windows/__init__.py
Normal 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
0
tools/__init__.py
Normal file
Loading…
Reference in New Issue
Block a user