mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-29 02:24:35 -05:00
* Tighten up ruff ignore list * Okay that fix was indeed unsafe * enable type-name-incorrect-variance * enable literal-membership * enable non-augmented-assignment * enable useless-return * enable global-variable-not-assigned * - * fixup * Clean up roff.toml from annotations * use ignore instead of explicit re-export * use more descriptive names --------- Co-authored-by: Kyle Altendorf <sda@fstab.net>
13 lines
286 B
Python
13 lines
286 B
Python
from __future__ import annotations
|
|
|
|
from pathlib import Path
|
|
|
|
from chia.simulator.block_tools import get_plot_dir
|
|
|
|
|
|
def get_test_plots(sub_dir: str = "") -> list[Path]:
|
|
path = get_plot_dir()
|
|
if sub_dir != "":
|
|
path /= sub_dir
|
|
return list(sorted(path.glob("*.plot")))
|