Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #47

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,40 @@ ci:
autoupdate_schedule: 'quarterly'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.6.0
hooks:
- id: check-docstring-first
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v1.20.1
rev: v2.5.0
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 7.1.0
hooks:
- id: flake8
additional_dependencies: [flake8-typing-imports==1.7.0]
- repo: https://github.com/myint/autoflake
rev: v1.4
- repo: https://github.com/PyCQA/autoflake
rev: v2.3.1
hooks:
- id: autoflake
args: ["--in-place", "--remove-all-unused-imports", "--ignore-init-module-imports", "--remove-unused-variables"]
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.1
rev: v3.16.0
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
rev: v2.3.0
hooks:
- id: codespell
args: [--ignore-words-list, hist]
Expand Down
1 change: 1 addition & 0 deletions microutil/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""All the Utilities :)"""

# Must import __version__ first to avoid errors importing this file during the build process.
# See https://github.com/pypa/setuptools/issues/1724#issuecomment-627241822
from ._version import __version__
Expand Down
1 change: 1 addition & 0 deletions microutil/_unet.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
This function in this file is taken based on and/or taken from https://github.com/lpbsscientist/YeaZ-GUI
which is under the MIT license.
"""

# Import tensorflow differently depending on version
from tensorflow import __version__ as tf_version
from tensorflow.keras.layers import (
Expand Down
1 change: 1 addition & 0 deletions microutil/leica/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""
Utilities for loading from a leica scope
"""

from .leica import *
1 change: 1 addition & 0 deletions microutil/single_cell/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""
Operations for doing math over single cells in a timeseries
"""

from .single_cell import *
9 changes: 2 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ url = https://github.com/Hekstra-Lab/microutil
author = Ian Hunt-Isaak, John Russell
author_email = [email protected], [email protected]
license = BSD-3-Clause
license_file = LICENSE
license_files = LICENSE
platforms = Linux, Mac OS X, Windows
classifiers =
Intended Audience :: Developers
Expand All @@ -16,11 +16,6 @@ classifiers =
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10

[options]
packages = find:
Expand All @@ -38,7 +33,7 @@ install_requires =
tifffile
xarray
zarr
python_requires = >=3.6
python_requires = >=3.8

[options.extras_require]
all =
Expand Down
Loading