From f29c58aad1694c2ee39aaaa3761140cd137f9a30 Mon Sep 17 00:00:00 2001 From: Owen Date: Tue, 21 Nov 2023 10:19:51 +0000 Subject: [PATCH] HOUSEKEEPING: Bump version to v0.8.50 --- darwin/version/__init__.py | 2 +- pyproject.toml | 45 +++++++++++++++++++++++++------------- 2 files changed, 31 insertions(+), 16 deletions(-) diff --git a/darwin/version/__init__.py b/darwin/version/__init__.py index 4edc2bbd6..818b03cab 100644 --- a/darwin/version/__init__.py +++ b/darwin/version/__init__.py @@ -1 +1 @@ -__version__ = "0.8.49" +__version__ = "0.8.50" diff --git a/pyproject.toml b/pyproject.toml index ecded29eb..1c54b7368 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,19 +1,22 @@ [build-system] -requires = [ "poetry-core",] +requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" [tool.poetry] name = "darwin-py" -version = "0.8.49" +version = "0.8.50" description = "Library and command line interface for darwin.v7labs.com" homepage = "https://docs.v7labs.com/reference/getting-started-2" documentation = "https://darwin-py-sdk.v7labs.com/index.html" repository = "https://github.com/v7labs/darwin-py" -authors = [ "V7 ",] +authors = ["V7 "] readme = "README.md" license = "MIT" keywords = [] -classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License",] +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", +] [[tool.poetry.packages]] include = "darwin" @@ -21,7 +24,7 @@ include = "darwin" profile = "black" [tool.mypy] -plugins = [ "pydantic.mypy",] +plugins = ["pydantic.mypy"] follow_imports = "silent" warn_redundant_casts = true warn_unused_ignores = true @@ -51,13 +54,13 @@ warn_required_dynamic_aliases = true warn_untyped_fields = true [tool.ruff] -select = [ "E", "F", "C",] -ignore = [ "E203", "E402", "E501",] +select = ["E", "F", "C"] +ignore = ["E203", "E402", "E501"] line-length = 88 [tool.flake8] max-line-length = 88 -ignore = [ "E203", "W503", "E402",] +ignore = ["E203", "W503", "E402"] [tool.black] line-length = 88 @@ -83,18 +86,30 @@ pyyaml = "^6.0.1" json-stream = "^2.3.2" [tool.poetry.extras] -dev = [ "black", "isort", "flake8", "mypy", "debugpy", "responses", "pytest", "flake8-pyproject", "pytest-rerunfailures", "ruff", "validate-pyproject",] -test = [ "responses", "pytest", "flake8-pyproject",] -ml = [ "torch", "torchvision", "scikit-learn", "albumentations",] -medical = [ "nibabel", "connected-components-3d",] -ocv = [ "opencv-python-headless",] +dev = [ + "black", + "isort", + "flake8", + "mypy", + "debugpy", + "responses", + "pytest", + "flake8-pyproject", + "pytest-rerunfailures", + "ruff", + "validate-pyproject", +] +test = ["responses", "pytest", "flake8-pyproject"] +ml = ["torch", "torchvision", "scikit-learn", "albumentations"] +medical = ["nibabel", "connected-components-3d"] +ocv = ["opencv-python-headless"] [tool.poetry.scripts] darwin = "darwin.cli:main" [tool.ruff.per-file-ignores] -"__init__.py" = [ "E402", "F401",] -"**/{tests,docs,tools}/*" = [ "E402", "F403",] +"__init__.py" = ["E402", "F401"] +"**/{tests,docs,tools}/*" = ["E402", "F403"] [tool.poetry.dependencies.dataclasses] markers = "python_version < \"3.7\""