Skip to content

Commit dba17fc

Browse files
Bump to 1.2.1 (#1026)
1 parent 1347d9d commit dba17fc

File tree

2 files changed

+21
-18
lines changed

2 files changed

+21
-18
lines changed

darwin/version/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.2.0"
1+
__version__ = "1.2.1"

pyproject.toml

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[build-system]
22
build-backend = "poetry.core.masonry.api"
3-
requires = ["poetry-core"]
3+
requires = [ "poetry-core",]
44

55
[tool.poetry]
6-
authors = ["V7 <[email protected]>"]
7-
classifiers = ["Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License"]
6+
authors = [ "V7 <[email protected]>",]
7+
classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License",]
88
description = "Library and command line interface for darwin.v7labs.com"
99
documentation = "https://darwin-py-sdk.v7labs.com/index.html"
1010
homepage = "https://docs.v7labs.com/reference/getting-started-2"
@@ -13,7 +13,7 @@ license = "MIT"
1313
name = "darwin-py"
1414
readme = "README.md"
1515
repository = "https://github.com/v7labs/darwin-py"
16-
version = "1.2.0"
16+
version = "1.2.1"
1717
[[tool.poetry.packages]]
1818
include = "darwin"
1919

@@ -36,7 +36,7 @@ ignore_missing_imports = true
3636
implicit_reexport = true
3737
no_implicit_optional = true
3838
no_implicit_reexport = true
39-
plugins = ["pydantic.mypy"]
39+
plugins = [ "pydantic.mypy",]
4040
pretty = true
4141
python_version = "3.10"
4242
warn_redundant_casts = true
@@ -51,12 +51,10 @@ warn_required_dynamic_aliases = true
5151
warn_untyped_fields = true
5252

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

5856
[tool.flake8]
59-
ignore = ["E203", "W503", "E402"]
57+
ignore = [ "E203", "W503", "E402",]
6058
max-line-length = 88
6159

6260
[tool.black]
@@ -82,21 +80,21 @@ types-pyyaml = "^6.0.12.9"
8280
types-requests = "^2.28.11.8"
8381
upolygon = "0.1.11"
8482
tenacity = "^8.5.0"
85-
8683
natsort = "^8.4.0"
84+
8785
[tool.poetry.extras]
88-
dev = ["black", "isort", "flake8", "mypy", "debugpy", "responses", "pytest", "flake8-pyproject", "pytest-rerunfailures", "ruff", "validate-pyproject"]
89-
medical = ["nibabel", "connected-components-3d", "scipy"]
90-
ml = ["torch", "torchvision", "scikit-learn", "albumentations", "scipy"]
91-
ocv = ["opencv-python-headless"]
92-
test = ["responses", "pytest", "flake8-pyproject"]
86+
dev = [ "black", "isort", "flake8", "mypy", "debugpy", "responses", "pytest", "flake8-pyproject", "pytest-rerunfailures", "ruff", "validate-pyproject",]
87+
medical = [ "nibabel", "connected-components-3d", "scipy",]
88+
ml = [ "torch", "torchvision", "scikit-learn", "albumentations", "scipy",]
89+
ocv = [ "opencv-python-headless",]
90+
test = [ "responses", "pytest", "flake8-pyproject",]
9391

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

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

10199
[tool.poetry.dependencies.nibabel]
102100
optional = true
@@ -129,6 +127,7 @@ version = "^2.5.1"
129127
[tool.poetry.dependencies.torchvision]
130128
optional = true
131129
version = "^0.20.1"
130+
132131
[tool.poetry.dependencies.black]
133132
optional = true
134133
version = "^24.4.2"
@@ -176,3 +175,7 @@ version = ">=0.4.7,<0.10.0"
176175
[tool.poetry.dependencies.validate-pyproject]
177176
optional = true
178177
version = ">=0.15,<0.24"
178+
179+
[tool.ruff.lint.per-file-ignores]
180+
"**/{tests,docs,tools}/*" = [ "E402", "F403",]
181+
"__init__.py" = [ "E402", "F401",]

0 commit comments

Comments
 (0)