Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#1151)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 23.12.1 → 24.1.1](psf/black@23.12.1...24.1.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jan 29, 2024
1 parent a7c0461 commit 2350270
Show file tree
Hide file tree
Showing 116 changed files with 10 additions and 107 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 23.12.1 # Replace by any tag/version: https://github.com/psf/black/tags
rev: 24.1.1 # Replace by any tag/version: https://github.com/psf/black/tags
hooks:
- id: black
language_version: python3 # Should be a command that runs python3.6+
Expand Down
1 change: 1 addition & 0 deletions WrightTools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""WrightTools init."""

# flake8: noqa


Expand Down
1 change: 0 additions & 1 deletion WrightTools/__version__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Define WrightTools version."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/__wt5_version__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Define wt5 version."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/_close.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Function to close all open wt5 files."""


# --- import -------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/_dataset.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Dataset base class."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/_group.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Group base class."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/_open.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Generic open method for wt5 files."""


# --- import -------------------------------------------------------------------------------------


Expand Down
1 change: 1 addition & 0 deletions WrightTools/artists/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Artists."""

# flake8: noqa


Expand Down
1 change: 0 additions & 1 deletion WrightTools/artists/_base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Base tools for visualizing data."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/artists/_colors.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Colormaps."""


# --- import --------------------------------------------------------------------------------------

import copy
Expand Down
1 change: 0 additions & 1 deletion WrightTools/artists/_helpers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Functions to help with plotting."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/artists/_quick.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Quick plotting."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/artists/_turbo.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Define turbo colormap."""


# Copyright 2019 Google LLC.
# SPDX-License-Identifier: Apache-2.0

Expand Down
1 change: 1 addition & 0 deletions WrightTools/collection/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Collection class and associated."""

# flake8: noqa


Expand Down
1 change: 0 additions & 1 deletion WrightTools/collection/_cary.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Cary."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/collection/_collection.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Collection."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/collection/_directory.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Cary."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 1 addition & 0 deletions WrightTools/data/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Data class and associated."""

# flake8: noqa


Expand Down
1 change: 0 additions & 1 deletion WrightTools/data/_aramis.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Aramis."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/data/_axis.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Axis class and associated."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/data/_brunold.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Brunold."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/data/_channel.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Channel class and associated."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/data/_colors.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""COLORS."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/data/_constant.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Constant class and associated."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/data/_data.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Central data class and associated."""


# --- import --------------------------------------------------------------------------------------

from __future__ import annotations
Expand Down
1 change: 0 additions & 1 deletion WrightTools/data/_jasco.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""JASCO."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/data/_join.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Join multiple data objects together."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/data/_kent.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Kent Meyer."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/data/_ocean_optics.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Ocean Optics."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/data/_pycmds.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""PyCMDS."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/data/_shimadzu.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Shimadzu."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/data/_solis.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Andor."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/data/_spcm.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""SPCM."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/data/_tensor27.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Tensor 27."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/data/_variable.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Variable class and associated."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/datasets/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Datasets."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/diagrams/WMEL.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""WMEL diagrams."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 1 addition & 0 deletions WrightTools/diagrams/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Diagrams."""

# flake8: noqa

from . import delay
Expand Down
1 change: 0 additions & 1 deletion WrightTools/diagrams/delay.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Delay space."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Custom exception types."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 1 addition & 0 deletions WrightTools/kit/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""General-purpose tool kit."""

# flake8: noqa

from ._array import *
Expand Down
1 change: 0 additions & 1 deletion WrightTools/kit/_array.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Array interaction tools."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/kit/_calculate.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Calculate."""


# --- import -------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/kit/_discover_dimensions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Discover dimensions of a flattened ND array."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/kit/_ini.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Tools for interacting with ini files."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/kit/_interpolate.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Interpolation tools."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/kit/_leastsq.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Least-square fitting tools."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/kit/_lineshapes.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Lineshapes."""


# --- import -------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/kit/_list.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Tools for working with lists."""


# --- import --------------------------------------------------------------------------------------

import itertools
Expand Down
1 change: 0 additions & 1 deletion WrightTools/kit/_path.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Filepath functions."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/kit/_timestamp.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Timestamp class and associated."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/kit/_unicode.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Unicode."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/kit/_utilities.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Utilities."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 0 additions & 1 deletion WrightTools/units.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Unit and label handling in WrightTools."""


# --- import --------------------------------------------------------------------------------------


Expand Down
1 change: 1 addition & 0 deletions examples/join.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

Some examples of how joining works.
"""

import numpy as np
from matplotlib import pyplot as plt
import WrightTools as wt
Expand Down
1 change: 1 addition & 0 deletions examples/split.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

Some examples of how splitting works.
"""

from matplotlib import pyplot as plt
import WrightTools as wt
from WrightTools import datasets
Expand Down
Loading

0 comments on commit 2350270

Please sign in to comment.