-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (102 loc) · 2.84 KB
/
pyproject.toml
File metadata and controls
112 lines (102 loc) · 2.84 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
[build-system]
requires = ["setuptools>=77.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "planemo"
dynamic = ["version", "readme", "dependencies"]
description = "Command-line utilities to assist in building tools for the Galaxy project (http://galaxyproject.org/)."
license = "MIT"
license-files = [
"LICENSE",
]
authors = [
{ name = "Galaxy Project and Community", email = "galaxy-committers@lists.galaxyproject.org" }
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Environment :: Console",
"Operating System :: POSIX",
"Topic :: Software Development",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Testing",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.10"
[tool.setuptools]
packages = [
"planemo",
"planemo.autopygen",
"planemo.autopygen.commands",
"planemo.autopygen.source_file_parsing",
"planemo.autopygen.xml",
"planemo.cwl",
"planemo.commands",
"planemo.database",
"planemo.engine",
"planemo.galaxy",
"planemo.galaxy.invocations",
"planemo.galaxy.test",
"planemo.linters",
"planemo.reports",
"planemo.shed",
"planemo.shed2tap",
"planemo.test",
"planemo.training",
"planemo.xml",
]
[tool.setuptools.package-data]
"planemo" = [
"xml/xsd/repository_dependencies.xsd",
"xml/xsd/tool_dependencies.xsd",
"reports/*",
"scripts/*"
]
[tool.setuptools.dynamic]
version = {attr = "planemo.__version__"}
readme = {file = ["README.rst", "HISTORY.rst"], content-type = "text/x-rst"}
dependencies = {file = "requirements.txt"}
[project.scripts]
planemo = "planemo.cli:planemo"
[tool.black]
extend-exclude = '^/(docs/standards)/'
include = '\.pyi?$'
line-length = 120
[tool.darker]
isort = true
[tool.ruff]
# Match flake8 configuration from setup.cfg
line-length = 120 # Match black configuration
exclude = [
".eggs",
".git",
".tox",
".venv",
"build",
"docs/conf.py",
"docs/standards",
"project_templates/cwl_draft3_spec/",
"planemo/autopygen/",
"*.ipynb",
]
[tool.ruff.lint]
# Only enable rules that flake8 would check by default
# This corresponds to the default flake8 ruleset minus ignored codes
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
]
ignore = [
"E203", # whitespace before ':' (conflicts with black)
"E501", # line too long (managed by black)
"E701", # multiple statements on one line (conflicts with black)
]
[tool.ruff.lint.mccabe]
# Match flake8 max-complexity setting
max-complexity = 14