Skip to content
Merged
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
2 changes: 1 addition & 1 deletion darwin/version/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.2.0"
__version__ = "1.2.1"
37 changes: 20 additions & 17 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
requires = [ "poetry-core",]

[tool.poetry]
authors = ["V7 <info@v7labs.com>"]
classifiers = ["Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License"]
authors = [ "V7 <info@v7labs.com>",]
classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License",]
description = "Library and command line interface for darwin.v7labs.com"
documentation = "https://darwin-py-sdk.v7labs.com/index.html"
homepage = "https://docs.v7labs.com/reference/getting-started-2"
Expand All @@ -13,7 +13,7 @@ license = "MIT"
name = "darwin-py"
readme = "README.md"
repository = "https://github.com/v7labs/darwin-py"
version = "1.2.0"
version = "1.2.1"
[[tool.poetry.packages]]
include = "darwin"

Expand All @@ -36,7 +36,7 @@ ignore_missing_imports = true
implicit_reexport = true
no_implicit_optional = true
no_implicit_reexport = true
plugins = ["pydantic.mypy"]
plugins = [ "pydantic.mypy",]
pretty = true
python_version = "3.10"
warn_redundant_casts = true
Expand All @@ -51,12 +51,10 @@ warn_required_dynamic_aliases = true
warn_untyped_fields = true

[tool.ruff]
lint.ignore = ["E203", "E402", "E501", "C901"]
line-length = 88
lint.select = ["E", "F", "C"]

[tool.flake8]
ignore = ["E203", "W503", "E402"]
ignore = [ "E203", "W503", "E402",]
max-line-length = 88

[tool.black]
Expand All @@ -82,21 +80,21 @@ types-pyyaml = "^6.0.12.9"
types-requests = "^2.28.11.8"
upolygon = "0.1.11"
tenacity = "^8.5.0"

natsort = "^8.4.0"

[tool.poetry.extras]
dev = ["black", "isort", "flake8", "mypy", "debugpy", "responses", "pytest", "flake8-pyproject", "pytest-rerunfailures", "ruff", "validate-pyproject"]
medical = ["nibabel", "connected-components-3d", "scipy"]
ml = ["torch", "torchvision", "scikit-learn", "albumentations", "scipy"]
ocv = ["opencv-python-headless"]
test = ["responses", "pytest", "flake8-pyproject"]
dev = [ "black", "isort", "flake8", "mypy", "debugpy", "responses", "pytest", "flake8-pyproject", "pytest-rerunfailures", "ruff", "validate-pyproject",]
medical = [ "nibabel", "connected-components-3d", "scipy",]
ml = [ "torch", "torchvision", "scikit-learn", "albumentations", "scipy",]
ocv = [ "opencv-python-headless",]
test = [ "responses", "pytest", "flake8-pyproject",]

[tool.poetry.scripts]
darwin = "darwin.cli:main"

[tool.ruff.lint.per-file-ignores]
"**/{tests,docs,tools}/*" = ["E402", "F403"]
"__init__.py" = ["E402", "F401"]
[tool.ruff.lint]
ignore = [ "E203", "E402", "E501", "C901",]
select = [ "E", "F", "C",]

[tool.poetry.dependencies.nibabel]
optional = true
Expand Down Expand Up @@ -129,6 +127,7 @@ version = "^2.5.1"
[tool.poetry.dependencies.torchvision]
optional = true
version = "^0.20.1"

[tool.poetry.dependencies.black]
optional = true
version = "^24.4.2"
Expand Down Expand Up @@ -176,3 +175,7 @@ version = ">=0.4.7,<0.10.0"
[tool.poetry.dependencies.validate-pyproject]
optional = true
version = ">=0.15,<0.24"

[tool.ruff.lint.per-file-ignores]
"**/{tests,docs,tools}/*" = [ "E402", "F403",]
"__init__.py" = [ "E402", "F401",]
Loading