Annotate chia/plotters/chiapos.py (#15363)

Annotate chia/plotters/chiapos.py.
This commit is contained in:
Amine Khaldi 2023-05-23 18:01:37 +01:00 committed by GitHub
parent 5473c94a6b
commit ef613df2f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -6,6 +6,7 @@ from __future__ import annotations
import asyncio
import logging
from argparse import Namespace
from pathlib import Path
from typing import Any, Dict, Optional
@ -22,7 +23,7 @@ def get_chiapos_install_info() -> Optional[Dict[str, Any]]:
return {"display_name": "Chia Proof of Space", "version": chiapos_version, "installed": True}
def plot_chia(args, root_path):
def plot_chia(args: Namespace, root_path: Path) -> None:
try:
validate_plot_size(root_path, args.size, args.override)
except ValueError as e:

View File

@ -9,7 +9,6 @@ chia.data_layer.data_layer_wallet
chia.introducer.introducer
chia.introducer.introducer_api
chia.plotters.bladebit
chia.plotters.chiapos
chia.plotters.madmax
chia.plotters.plotters
chia.plotters.plotters_util