-
-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpyproject.toml
More file actions
136 lines (124 loc) · 3.44 KB
/
pyproject.toml
File metadata and controls
136 lines (124 loc) · 3.44 KB
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[build-system]
requires = ["hatchling>=1.27.0"]
build-backend = "hatchling.build"
[project]
name = "cwl-utils"
authors = [{name = "Common Workflow Language project contributors", email = "common-workflow-language@googlegroups.com"}]
license = {text = "Apache 2.0"}
keywords = ["cwl", "commonwl", "common-workflow-language", "sciworkflows"]
readme = "README.rst"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: File Formats",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Distributed Computing",
"Typing :: Typed",
]
requires-python = ">=3.10,<3.15"
dynamic = ["version"]
dependencies = [
"cwl-upgrader >= 1.2.3",
"packaging",
"rdflib",
"requests",
"schema-salad >= 8.8.20250205075315,<9",
"ruamel.yaml >= 0.17.6, < 0.20",
"typing_extensions >= 4.10.0",
]
[project.urls]
Documentation = "https://cwl-utils.readthedocs.io/"
Homepage = "https://www.commonwl.org"
Repository = "https://github.com/common-workflow-language/cwl-utils"
Issues = "https://github.com/common-workflow-language/cwl-utils/issues"
Changelog = "https://github.com/common-workflow-language/cwl-utils/releases"
"Related Tools" = "https://www.commonwl.org/tools/"
[project.optional-dependencies]
pretty = ["cwlformat"]
testing = [
"pytest<10",
"pytest-cov",
"pytest-xdist[psutil]",
"cwl-utils[pretty]",
"pytest-mock >= 1.10.0",
"jsonschema >= 4.21.1",
"udocker",
"cwltool",
]
[project.scripts]
cwl-cite-extract = "cwl_utils.cite_extract:main"
cwl-docker-extract = "cwl_utils.docker_extract:main"
cwl-expression-refactor = "cwl_utils.expression_refactor:main"
cwl-graph-split = "cwl_utils.graph_split:main"
cwl-normalizer = "cwl_utils.normalizer:main"
cwl-inputs-schema-gen = "cwl_utils.inputs_schema_gen:main"
[tool.pytest.ini_options]
addopts = "-rsx -n auto --pyargs cwl_utils.tests"
[tool.hatch.version]
path = "src/cwl_utils/__meta__.py"
[tool.hatch.build.targets.sdist]
only-include = [
".flake8",
".coveragerc",
"create_cwl_from_objects.py",
"CONTRIBUTING.md",
"src/cwl_utils",
"docs",
"LICENSE",
"lint-requirements.txt",
"load_cwl_by_path.py",
"Makefile",
"mypy.ini",
"mypy-requirements.txt",
"mypy-stubs",
"README.rst",
"tox.ini"
]
[tool.hatch.build.targets.wheel.hooks.mypyc]
enable-by-default = false
dependencies = [
"hatch-mypyc>=0.16.0",
"mypy==1.19.0",
"types-requests",
"types-jsonschema",
"types-setuptools>=57.4.0",
]
require-runtime-dependencies = true
include = [
"src/cwl_utils/parser",
"src/cwl_utils/expression.py"
]
[tool.hatch.envs.test]
features = ["testing"]
[tool.isort]
profile = "black"
[tool.ruff.lint]
select = [
"D", # pydocstyle
]
ignore = [
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D107",
"D203",
"D212",
]
[tool.bandit]
exclude_dirs = ["src/cwl_utils/tests"]