-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
94 lines (86 loc) · 2.12 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "rdmo-plugins-zenodo"
authors = [
{name = "RDMO Arbeitsgemeinschaft", email = "[email protected]"},
]
maintainers = [
{name = "Jochen Klar", email = "[email protected]"},
]
description = "Plugin to connect RDMO with Zenodo"
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE"}
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django :: 2.2',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
"Programming Language :: Python :: 3 :: Only",
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
]
dependencies = [
"rdmo",
]
dynamic = ["version"]
[project.optional-dependencies]
ci = [
"rdmo-plugins-zenodo[dev]",
]
dev = [
"pre-commit~=3.5",
"rdmo[allauth]",
"rdmo-plugins-zenodo[pytest]",
]
[project.urls]
repository = "https://github.com/rdmorganiser/rdmo-plugins-zenodo"
[tool.setuptools]
packages = ["rdmo_zenodo"]
[tool.setuptools.dynamic]
version = {attr = "rdmo_zenodo.__version__"}
[tool.ruff]
target-version = "py38"
line-length = 120
select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"PGH", # pygrep-hooks
"RUF", # ruff
"UP", # pyupgrade
"W", # pycodestyle
"YTT", # flake8-2020
]
ignore = [
"B006", # mutable-argument-default
"B007", # unused-loop-control-variable
"B018", # useless-expression
"RUF012", # mutable-class-default
]
[tool.ruff.isort]
section-order = [
"future",
"standard-library",
"pytest",
"django",
"rest_framework",
"third-party",
"rdmo",
"first-party",
"local-folder"
]
[tool.ruff.isort.sections]
pytest = ["pytest"]
django = ["django"]
rest_framework = ["rest_framework"]
rdmo = ["rdmo"]