generated from datalad/datalad-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
122 lines (106 loc) · 2.57 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
119
120
121
122
[project]
name = "datalad-getexec"
description = "DataLad extension for code execution in get commands"
requires-python = ">=3.8"
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "The DataLad Team and Contributors", email = "team@datalad.org" },
{ name = "Matthias Riße", email = "m.risse@fz-juelich.de" },
]
maintainers = [
{ name = "Matthias Riße", email = "m.risse@fz-juelich.de" },
]
classifiers = [
"Programming Language :: Python",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
]
dynamic = ["version"]
dependencies = [
"datalad>=0.17.0",
"annexremote>=1.6.0",
]
[project.optional-dependencies]
devel = [
"black",
"coverage",
"coverage-conditional-plugin",
"flake8",
"flake8-bugbear",
"hypothesis",
"isort",
"mypy",
"pytest",
"pytest-cov",
"sphinx",
"sphinx_rtd_theme",
]
[project.urls]
documentation = "https://datalad-getexec.readthedocs.io"
repository = "https://github.com/matrss/datalad-getexec"
[project.scripts]
git-annex-remote-getexec = "datalad_getexec.remote:main"
[project.entry-points."datalad.extensions"]
getexec = "datalad_getexec:command_suite"
[build-system]
requires = ["setuptools >= 43.0.0", "tomli; python_version < '3.11'"]
build-backend = "setuptools.build_meta"
[tool.versioneer]
VCS = "git"
style = "pep440"
versionfile_source = "src/datalad_getexec/_version.py"
versionfile_build = "datalad_getexec/_version.py"
tag_prefix = "v"
[tool.coverage.run]
plugins = ["coverage_conditional_plugin"]
[tool.coverage.report]
show_missing = true
omit = ["src/datalad_getexec/_version.py"]
[tool.coverage.coverage_conditional_plugin.rules]
py-gte-39 = "sys_version_info >= (3, 9)"
py-lt-39 = "sys_version_info < (3, 9)"
[tool.black]
line-length = 88
extend-exclude = '''
(
^/_datalad_buildsupport
| ^/versioneer.py
| ^/src/datalad_getexec/_version.py
)
'''
[tool.isort]
profile = "black"
skip_gitignore = true
extend_skip = [
"_datalad_buildsupport/",
"versioneer.py",
"src/datalad_getexec/_version.py",
]
[tool.mypy]
ignore_missing_imports = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
exclude = [
'.tox/',
'build/',
'_datalad_buildsupport/',
'datalad_getexec/_version.py',
'versioneer.py',
]
[[tool.mypy.overrides]]
module = [
"setup",
"datalad_getexec",
]
disallow_untyped_calls = false
[[tool.mypy.overrides]]
module = [
"datalad_getexec._version",
"versioneer",
"_datalad_buildsupport.*",
]
follow_imports = "skip"
# [tool.flake8]
# flake8 still does not support pyproject.toml, so it's configured in .flake8