diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index bc9a9ae..520ae31 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -33,7 +33,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7732355..6260e94 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,15 +2,13 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 24.10.0 hooks: - id: black - language_version: python3.10 - args: ["--target-version", "py310"] diff --git a/README.md b/README.md index 8a00dc7..a6a73cf 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,10 @@ components at different concentrations spread across several plates. # Changelog +## v0.6.1 + +- Adds `html_with_borders_tablefmt` again (and import `printing`). + ## v0.6.0 - Optional ECHO liquid handler support, with the 'echo' feature (eg, `pip install --upgrade alhambra_mixes[echo]`). Uses [kithairon](https://github.com/cgevans/kithairon), which diff --git a/src/alhambra_mixes/__init__.py b/src/alhambra_mixes/__init__.py index 3aa31a0..9869fe4 100644 --- a/src/alhambra_mixes/__init__.py +++ b/src/alhambra_mixes/__init__.py @@ -14,6 +14,9 @@ from .quantitate import hydrate_and_measure_conc_and_dilute, measure_conc_and_dilute from .references import Reference, load_reference from .units import DNAN, Q_, VolumeError, nM, uL, uM, ureg +from .printing import html_with_borders_tablefmt + +import printing __all__ = [ "uL", @@ -43,6 +46,8 @@ "hydrate_and_measure_conc_and_dilute", "split_mix", "master_mix", + "html_with_borders_tablefmt", + "printing", ] try: @@ -59,10 +64,10 @@ "EchoFillToVolume", "EchoFixedVolume", "EchoTargetConcentration", - "AbstractEchoAction" + "AbstractEchoAction", ] except ImportError as err: if err.name == "kithairon": pass else: - raise err # noqa + raise err # noqa