1- [tool . poetry ]
1+ [project ]
22name = " ocioview"
33version = " 0.1.0"
44description = " OpenColorIO config visual editor application"
5- license = " BSD-3-Clause"
6- authors = [" Contributors to the OpenColorIO Project" ]
5+ requires-python = " >=3.10,<3.14"
6+ authors = [
7+ { name = " Contributors to the OpenColorIO Project" }
8+ ]
9+ maintainers = [
10+ { name = " Contributors to the OpenColorIO Project" }
11+ ]
12+ license = { text = " BSD-3-Clause" }
13+ classifiers = [
14+ " Development Status :: 3 - Alpha" ,
15+ " Environment :: Console" ,
16+ " Intended Audience :: Developers" ,
17+ " Intended Audience :: Science/Research" ,
18+ " License :: OSI Approved" ,
19+ " Natural Language :: English" ,
20+ " Operating System :: OS Independent" ,
21+ " Programming Language :: Python :: 3" ,
22+ " Topic :: Scientific/Engineering" ,
23+ " Topic :: Software Development" ,
24+ ]
25+ dependencies = [
26+ " colour-science>=0.4.5,<0.5" ,
27+ " colour-visuals" ,
28+ " imageio>=2,< 3" ,
29+ " networkx>=3,<4" ,
30+ " numpy>=1.24,<3" ,
31+ " opencolorio>=2,<3" ,
32+ " pygfx>=0.1,<0.3" ,
33+ " pygments" ,
34+ " pyopengl" ,
35+ " pyside6" ,
36+ " qtawesome" ,
37+ " scipy>=1.10,<2" ,
38+ ]
39+
40+ [tool .uv .sources ]
41+ "colour-visuals" = { git = " https://github.com/colour-science/colour-visuals.git" }
742
8- [tool .poetry .dependencies ]
9- python = " >= 3.9, < 3.12"
10- colour-science = {git = " https://github.com/colour-science/colour.git" }
11- colour-visuals = {git = " https://github.com/colour-science/colour-visuals.git" }
12- imageio = " >= 2, < 3"
13- networkx = " >= 2.7, < 3"
14- numpy = " >= 1.22, < 2"
15- opencolorio = " *"
16- pygfx = " *"
17- pygments = " *"
18- pyopengl = " *"
19- pyside6 = " *"
20- qtawesome = " *"
21- scipy = " >= 1.8, < 2"
22- wpgu = " *"
43+ [project .optional-dependencies ]
44+ docs = [
45+ " restructuredtext-lint" ,
46+ " sphinx" ,
47+ ]
2348
24- [tool .poetry . group . dev . dependencies ]
25- black = " * "
26- blackdoc = " * "
27- coverage = " != 6.3 "
28- coveralls = " * "
29- flynt = " * "
30- invoke = " * "
31- jupyter = " * "
32- pre-commit = " * "
33- pyright = " * "
34- pytest = " * "
35- pytest-cov = " * "
36- pytest-qt = " * "
37- pytest-xdist = " * "
38- ruff = " * "
39- toml = " * "
40- twine = " * "
49+ [tool .uv ]
50+ package = true
51+ dev-dependencies = [
52+ " black " ,
53+ " coverage " ,
54+ " coveralls " ,
55+ " hatch " ,
56+ " invoke " ,
57+ " jupyter " ,
58+ " pre-commit " ,
59+ " pyright " ,
60+ " pytest " ,
61+ " pytest-cov " ,
62+ " pytest-xdist" ,
63+ " toml " ,
64+ " twine " ,
65+ ]
4166
42- [tool .poetry .group .docs .dependencies ]
43- pydata-sphinx-theme = " *"
44- restructuredtext-lint = " *"
45- sphinx = " *"
46- sphinxcontrib-bibtex = " *"
67+ [build-system ]
68+ requires = [" hatchling" ]
69+ build-backend = " hatchling.build"
70+
71+ [tool .hatch .build .targets .wheel ]
72+ packages = [ " ocioview" ]
4773
4874[tool .black ]
4975line-length = 79
@@ -85,7 +111,7 @@ filterwarnings = [
85111]
86112
87113[tool .ruff ]
88- target-version = " py39 "
114+ target-version = " py310 "
89115line-length = 88
90116select = [
91117 " A" , # flake8-builtins
@@ -128,7 +154,7 @@ select = [
128154 " TRY" , # tryceratops
129155 " UP" , # pyupgrade
130156 " W" , # pydocstyle
131- " YTT" # flake8-2020
157+ " YTT" , # flake8-2020
132158]
133159ignore = [
134160 " B008" ,
@@ -162,6 +188,7 @@ ignore = [
162188 " RET508" ,
163189 " TRY003" ,
164190 " TRY300" ,
191+ " UP038" ,
165192]
166193typing-modules = [" colour.hints" ]
167194fixable = [" B" , " C" , " E" , " F" , " PIE" , " RUF" , " SIM" , " UP" , " W" ]
@@ -172,6 +199,5 @@ convention = "numpy"
172199[tool .ruff .per-file-ignores ]
173200"docs/*" = [" INP" ]
174201
175- [build-system ]
176- requires = [" poetry_core>=1.0.0" ]
177- build-backend = " poetry.core.masonry.api"
202+ [tool .ruff .format ]
203+ docstring-code-format = true
0 commit comments