-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
118 lines (107 loc) · 3.21 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenColorIO Project.
[tool.poetry]
name = "opencolorio-config-aces"
version = "1.0.0-rc2"
description = "OpenColorIO Configuration for ACES"
authors = [ "OpenColorIO Contributors" ]
maintainers = [ "OpenColorIO Contributors <ocio-dev@lists.aswf.io>" ]
license = "BSD-3-Clause"
readme = 'README.rst'
repository = "https://github.com/AcademySoftwareFoundation/OpenColorIO-Config-ACES"
homepage = "https://www.colour-science.org/"
keywords = [
"ACES",
"OpenColorIO",
"OCIO"
]
[tool.poetry.dependencies]
python = ">= 3.9, < 3.11"
# numpy = ">= 1.19, < 2"
opencolorio = ">= 2, < 3"
requests = ">= 2, < 3"
# scipy = ">= 1.5, < 2"
colour-science = { version = ">= 0.4.0", optional = true }
jsonpickle = { version = "^2.0.0", optional = true }
networkx = { version = "*", optional = true }
pygraphviz = { version = "*", optional = true }
black = { version = "*", optional = true } # Development dependency.
coverage = { version = "*", optional = true } # Development dependency.
coveralls = { version = "*", optional = true } # Development dependency.
flake8 = { version = "*", optional = true } # Development dependency.
flynt = { version = "*", optional = true } # Development dependency.
invoke = { version = "*", optional = true } # Development dependency.
mypy = { version = "*", optional = true } # Development dependency.
pre-commit = { version = "*", optional = true } # Development dependency.
pydata-sphinx-theme = { version = "*", optional = true } # Development dependency.
pydocstyle = { version = "*", optional = true } # Development dependency.
pytest = { version = "*", optional = true } # Development dependency.
pytest-cov = { version = "*", optional = true } # Development dependency.
pyupgrade = { version = "*", optional = true } # Development dependency.
restructuredtext-lint = { version = "*", optional = true } # Development dependency.
sphinx = { version = ">= 4, < 5", optional = true } # Development dependency.
twine = { version = "*", optional = true } # Development dependency.
[tool.poetry.dev-dependencies]
black = "*"
coverage = "*"
coveralls = "*"
flake8 = "*"
flynt = "*"
invoke = "*"
mypy = "*"
pre-commit = "*"
pydata-sphinx-theme = "*"
pydocstyle = "*"
pytest = "*"
pytest-cov = "*"
pyupgrade = "*"
restructuredtext-lint = "*"
sphinx = ">= 4, < 5"
twine = "*"
[tool.poetry.extras]
development = [
"black",
"coverage",
"coveralls",
"flake8",
"invoke",
"mypy",
"pre-commit",
"pydata-sphinx-theme",
"pydocstyle",
"pytest",
"pytest-cov",
"pyupgrade",
"restructuredtext-lint",
"sphinx",
"twine",
]
optional = [ "colour-science", "jsonpickle", "networkx" ]
graphviz = [ "pygraphviz" ]
read-the-docs = [
"networkx",
"pydata-sphinx-theme",
"pygraphviz",
]
[tool.black]
line-length = 79
exclude = '''
/(
\.git
| \.mypy_cache
| build
| dist
| opencolorio_config_aces/config/reference/aces-dev
)/
'''
[tool.flynt]
line_length=999
[tool.mypy]
plugins = "numpy.typing.mypy_plugin"
ignore_missing_imports = true
[tool.pydocstyle]
convention = "numpy"
add-ignore = "D104,D200,D202,D205,D301,D400"
[build-system]
requires = [ "poetry>=0.12" ]
build-backend = "poetry.masonry.api"