mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-20 16:08:51 +03:00
3b084a165b
* configure isort to add the future annotations import * apply the new isort setting * remove type ignores for new mypy (#13539) https://pypi.org/project/mypy/0.981/ * another
11 lines
326 B
Python
11 lines
326 B
Python
from __future__ import annotations
|
|
|
|
from typing import Dict
|
|
|
|
from chia.consensus.constants import ConsensusConstants
|
|
from chia.consensus.default_constants import DEFAULT_CONSTANTS
|
|
|
|
|
|
def make_test_constants(test_constants_overrides: Dict) -> ConsensusConstants:
|
|
return DEFAULT_CONSTANTS.replace(**test_constants_overrides)
|