11[build-system ]
22build-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" , ]
88description = " Library and command line interface for darwin.v7labs.com"
99documentation = " https://darwin-py-sdk.v7labs.com/index.html"
1010homepage = " https://docs.v7labs.com/reference/getting-started-2"
@@ -13,7 +13,7 @@ license = "MIT"
1313name = " darwin-py"
1414readme = " README.md"
1515repository = " https://github.com/v7labs/darwin-py"
16- version = " 1.2.0 "
16+ version = " 1.2.1 "
1717[[tool .poetry .packages ]]
1818include = " darwin"
1919
@@ -36,7 +36,7 @@ ignore_missing_imports = true
3636implicit_reexport = true
3737no_implicit_optional = true
3838no_implicit_reexport = true
39- plugins = [" pydantic.mypy" ]
39+ plugins = [ " pydantic.mypy" , ]
4040pretty = true
4141python_version = " 3.10"
4242warn_redundant_casts = true
@@ -51,12 +51,10 @@ warn_required_dynamic_aliases = true
5151warn_untyped_fields = true
5252
5353[tool .ruff ]
54- lint.ignore = [" E203" , " E402" , " E501" , " C901" ]
5554line-length = 88
56- lint.select = [" E" , " F" , " C" ]
5755
5856[tool .flake8 ]
59- ignore = [" E203" , " W503" , " E402" ]
57+ ignore = [ " E203" , " W503" , " E402" , ]
6058max-line-length = 88
6159
6260[tool .black ]
@@ -82,21 +80,21 @@ types-pyyaml = "^6.0.12.9"
8280types-requests = " ^2.28.11.8"
8381upolygon = " 0.1.11"
8482tenacity = " ^8.5.0"
85-
8683natsort = " ^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 ]
9593darwin = " 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 ]
102100optional = true
@@ -129,6 +127,7 @@ version = "^2.5.1"
129127[tool .poetry .dependencies .torchvision ]
130128optional = true
131129version = " ^0.20.1"
130+
132131[tool .poetry .dependencies .black ]
133132optional = true
134133version = " ^24.4.2"
@@ -176,3 +175,7 @@ version = ">=0.4.7,<0.10.0"
176175[tool .poetry .dependencies .validate-pyproject ]
177176optional = true
178177version = " >=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