Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent fc74920 commit 5466828
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions mcbackend/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
A framework agnostic implementation for storage of MCMC draws.
"""

from .backends.numpy import NumPyBackend
from .core import Backend, Chain, Run
from .meta import ChainMeta, Coordinate, DataVariable, ExtendedValue, RunMeta, Variable
Expand Down
1 change: 1 addition & 0 deletions mcbackend/backends/clickhouse.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
This module implements a backend for sample storage in ClickHouse.
"""

import base64
import logging
import time
Expand Down
1 change: 1 addition & 0 deletions mcbackend/backends/numpy.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
This backend holds draws in memory, managing them via NumPy arrays.
"""

import math
from typing import Dict, List, Mapping, Optional, Sequence, Tuple

Expand Down
1 change: 1 addition & 0 deletions mcbackend/core.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Module with metadata structures and abstract classes.
"""

import collections
import logging
from typing import Dict, List, Mapping, Optional, Sequence, Sized, TypeVar, Union, cast
Expand Down
1 change: 1 addition & 0 deletions mcbackend/npproto/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Helper functions such as converters between ``ndarray`` and ``Ndarray``.
"""

import numpy

from . import Ndarray
Expand Down
1 change: 1 addition & 0 deletions mcbackend/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Contains helper functions that are independent of McBackend components."""

from typing import Sequence

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions protobufs/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
This script regenerates the `meta.py` module
from protobuf definitions of core metadata structures.
"""

import pathlib
import shutil
import subprocess
Expand Down

0 comments on commit 5466828

Please sign in to comment.