refactor: update imports and switch to pytest for testing

This commit is contained in:
2026-03-01 11:52:30 -03:00
parent c59f0d6516
commit 11ff4c0c21
8 changed files with 116 additions and 65 deletions

View File

@@ -1,12 +1,12 @@
import yaml
from diceplayer.config.player_config import PlayerConfig
from diceplayer.logger import logger
from diceplayer.player import Player
import yaml
import argparse
from importlib import metadata
from diceplayer.player import Player
VERSION = metadata.version("diceplayer")

View File

@@ -1,7 +1,7 @@
from __future__ import annotations
from diceplayer.logger import logger
from diceplayer.environment import Atom
from diceplayer.logger import logger
from diceplayer.utils.cache import invalidate_computed_properties
from diceplayer.utils.misc import BOHR2ANG, EA_2_DEBYE
from diceplayer.utils.ptable import GHOST_NUMBER

View File

@@ -1,7 +1,9 @@
from typing_extensions import TypeVar
import logging
import sys
from pathlib import Path
from typing_extensions import TypeVar
H = TypeVar('H', bound=logging.Handler)