-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpyproject.toml
111 lines (100 loc) · 2.68 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
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "globus-cli"
description = "Globus CLI"
readme = "README.rst"
authors = [
{ name = "Stephen Rosen", email = "[email protected]" },
]
keywords = [
"globus",
"cli",
"command line",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX",
"Programming Language :: Python",
"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",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.8"
dependencies = [
"globus-sdk==3.49.0",
"click>=8.1.4,<9",
"jmespath==1.0.1",
"packaging>=17.0",
"typing_extensions>=4.0;python_version<'3.11'",
# these are dependencies of the SDK, but they are used directly in the CLI
# declare them here in case the underlying lib ever changes
"requests>=2.32.3,<3.0.0",
]
dynamic = ["version"]
[project.urls]
homepage = "https://github.com/globus/globus-cli"
[project.scripts]
globus = "globus_cli:main"
[dependency-groups]
coverage = [
"coverage[toml]>=7"
]
test = [
{include-group = "coverage"},
"pytest>=7",
"pytest-xdist<4",
"pytest-timeout<3",
"click-type-test==1.1.0;python_version>='3.10'",
"responses==0.25.5",
# loading test fixture data
"ruamel.yaml==0.18.10",
]
test-mindeps = [
{include-group = "test"},
"click==8.1.4",
"requests==2.32.3",
"pyjwt==2.0.0",
"cryptography==3.3.1",
"packaging==17.0",
"typing_extensions==4.0",
]
typing = [
"mypy==1.14.1",
"types-jwt",
"types-requests",
"types-jmespath",
]
[tool.setuptools.dynamic.version]
attr = "globus_cli.version.__version__"
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
addopts = "--timeout 3 --color=yes"
filterwarnings = ["error"]
[tool.scriv]
version = "literal: src/globus_cli/version.py: __version__"
categories = "Bugfixes, Enhancements, Other"
# we're using adoc, we'll produce fragments as 'md' and "fix" later
format = "md"
output_file = "changelog.adoc"
entry_title_template = '{{ version }} ({{ date.strftime("%Y-%m-%d") }})'
[tool.mypy]
strict = true
sqlite_cache = true
# additional settings (not part of strict=true)
warn_unreachable = true
[[tool.mypy.overrides]]
disallow_untyped_calls = false
disallow_untyped_defs = false
disallow_incomplete_defs = false
module = [
"globus_cli.services.transfer.recursive_ls",
"globus_cli.termio.awscli_text",
]