File: pyproject.toml

package info (click to toggle)
cmd2 3.2.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,664 kB
  • sloc: python: 17,488; makefile: 114; sh: 39; javascript: 7
file content (113 lines) | stat: -rw-r--r-- 3,071 bytes parent folder | download
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
[build-system]
requires = ["build>=1.2.2", "setuptools>=80.7.1", "setuptools-scm>=9.2"]
build-backend = "setuptools.build_meta"

[project]
name = "cmd2"
dynamic = ["version"]
description = "cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python"
authors = [{ name = "cmd2 Contributors" }]
readme = "README.md"
requires-python = ">=3.10"
keywords = ["CLI", "cmd", "command", "interactive", "prompt", "Python"]
license = "MIT"
license-files = ["LICENSE"]
classifiers = [
    "Development Status :: 5 - Production/Stable",
    "Environment :: Console",
    "Operating System :: OS Independent",
    "Intended Audience :: Developers",
    "Intended Audience :: System Administrators",
    "Programming Language :: Python :: 3 :: Only",
    "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",
    "Programming Language :: Python :: 3.15",
    "Programming Language :: Python :: Free Threading :: 3 - Stable",
    "Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
    "backports.strenum; python_version == '3.10'",
    "gnureadline>=8; platform_system == 'Darwin'",
    "pyperclip>=1.8.2",
    "pyreadline3>=3.4; platform_system == 'Windows'",
    "rich>=14.3.0",
    "rich-argparse>=1.7.1",
    "typing-extensions; python_version == '3.10'",
]

[dependency-groups]
build = ["build>=1.2.2", "setuptools>=80.7.1", "setuptools-scm>=9.2"]
dev = [
    "codecov>=2.1",
    "ipython>=8.23",
    "mkdocstrings[python]>=1",
    "mypy>=1.13",
    "pre-commit>=3",
    "pytest>=8.1.1",
    "pytest-cov>=5",
    "pytest-mock>=3.14.1",
    "ruff>=0.14.10",
    "uv-publish>=1.3",
    "zensical>=0.0.17",
]
docs = [
    "mkdocstrings[python]>=1",
    "setuptools>=80.7.1",
    "setuptools_scm>=8",
    "zensical>=0.0.17",
]
quality = ["pre-commit>=3"]
test = [
    "codecov>=2.1",
    "coverage>=7.11",
    "pytest>=8.1.1",
    "pytest-cov>=5",
    "pytest-mock>=3.14.1",
]
validate = ["mypy>=1.13", "ruff>=0.14.10", "types-setuptools>=80.7.1"]

[tool.mypy]
disallow_incomplete_defs = true
disallow_untyped_calls = true
disallow_untyped_defs = true
exclude = [
    "^.git/",
    "^.venv/",
    "^build/",        # .build directory
    "^docs/",         # docs directory
    "^dist/",
    "^examples/",     # examples directory
    "^noxfile\\.py$", # nox config file
    "setup\\.py$",    # any files named setup.py
    "^site/",
    "^tests/",        # tests directory
]
files = ['.']
show_column_numbers = true
show_error_codes = true
show_error_context = true
strict = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_ignores = false

[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = [
    "--cov=cmd2",
    "--cov-append",
    "--cov-report=term",
    "--cov-report=html",
]

[tool.setuptools]
packages = ["cmd2"]

[tool.setuptools_scm]

[tool.uv]
default-groups = ["build", "dev"]