Skip to content

Commit

Permalink
Linting, bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
antarcticrainforest committed Aug 4, 2024
1 parent 0d7444e commit d002c9f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion freva-client/src/freva_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
from .auth import authenticate
from .query import databrowser

__version__ = "2408.0.0.dev1"
__version__ = "2408.0.0.dev2"
__all__ = ["authenticate", "databrowser", "__version__"]
2 changes: 1 addition & 1 deletion freva-rest/src/freva_rest/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
from pathlib import Path

__version__ = "2408.0.0-dev1"
__version__ = "2408.0.0-dev2"
__all__ = ["__version__"]

REST_URL = (
Expand Down
4 changes: 1 addition & 3 deletions freva-rest/src/freva_rest/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
from rich.console import Console

THIS_NAME: str = "freva-rest"
LOG_DIR: Path = Path(
os.environ.get("API_LOGDIR") or Path(f"/tmp/log/{THIS_NAME}")
)
LOG_DIR: Path = Path(os.environ.get("API_LOGDIR") or Path(f"/tmp/log/{THIS_NAME}"))
logfmt = "%(name)s - %(message)s"
datefmt = "%Y-%m-%dT%H:%M"
LOG_DIR.mkdir(exist_ok=True, parents=True)
Expand Down

0 comments on commit d002c9f

Please sign in to comment.