Skip to content

Commit

Permalink
fixed ruff warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
calbaker committed Feb 7, 2025
1 parent 5cd5568 commit 63a6ab6
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions python/fastsim/__init__.py
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
from importlib.metadata import version
from pathlib import Path
from typing import Any, List, Union, Dict, Optional
from typing import Any, List, Union, Dict
from typing_extensions import Self
import logging
import numpy as np
import re
import inspect
import pandas as pd
import pandas as pd # type: ignore[import-untyped]
import polars as pl

from .fastsim import *
from .fastsim import * # noqa: F403
from .fastsim import Cycle # type: ignore[attr-defined]
from . import utils

DEFAULT_LOGGING_CONFIG = dict(
format="%(asctime)s.%(msecs)03d | %(filename)s:%(lineno)s | %(levelname)s: %(message)s",
datefmt="%Y-%m-%d %H:%M:%S",
)

# Set up logging
logging.basicConfig(**DEFAULT_LOGGING_CONFIG)
logger = logging.getLogger(__name__)


def package_root() -> Path:
"""Returns the package root directory."""
Expand Down

0 comments on commit 63a6ab6

Please sign in to comment.