-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (84 loc) · 2.74 KB
/
pyproject.toml
File metadata and controls
91 lines (84 loc) · 2.74 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
[project]
name = "distrobox-plus"
version = "1.8.2.3"
description = "A Python implementation of distrobox for creating and managing containerized development environments"
authors = [
{ name = "xz-dev", email = "xiangzhedev@gmail.com" }
]
license = "BSD-3-Clause"
license-files = ["LICENSE"]
readme = "README.md"
requires-python = ">=3.10"
keywords = ["distrobox", "container", "podman", "docker", "development", "environment"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development",
"Topic :: System :: Containers",
]
dependencies = [
"platformdirs>=4.9.6",
"rich>=15.0.0",
"jinja2>=3.1.0",
]
[project.urls]
Homepage = "https://github.com/xz-dev/distrobox-plus"
Repository = "https://github.com/xz-dev/distrobox-plus"
Issues = "https://github.com/xz-dev/distrobox-plus/issues"
[project.scripts]
distrobox-plus = "distrobox_plus:main"
distrobox-generate-entry = "distrobox_plus.commands.generate_entry:run"
[build-system]
requires = ["uv_build>=0.11.8,<0.12.0"]
build-backend = "uv_build"
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"fast: marks tests as fast (< 5 seconds, no container creation)",
"slow: marks tests as slow (> 30 seconds, full container lifecycle)",
"integration: marks tests as requiring real container operations",
"assemble: tests for distrobox-assemble command",
"build: tests for distrobox-build command",
"create: tests for distrobox-create command",
"enter: tests for distrobox-enter command",
"ephemeral: tests for distrobox-ephemeral command",
"export: tests for distrobox-export command",
"generate_entry: tests for distrobox-generate-entry command",
"list: tests for distrobox-list command",
"stop: tests for distrobox-stop command",
"rm: tests for distrobox-rm command",
"upgrade: tests for distrobox-upgrade command",
]
# Skip slow tests by default
addopts = "-m 'not slow'"
[dependency-groups]
dev = [
"pytest>=9.0.3",
"ruff>=0.15.12",
"mypy>=1.20.2",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_ignores = true
disallow_untyped_defs = true