-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (60 loc) · 1.59 KB
/
pyproject.toml
File metadata and controls
73 lines (60 loc) · 1.59 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
[build-system]
requires = ["setuptools >= 77"]
build-backend = "setuptools.build_meta"
[project]
name = "ctenv"
description = "ctenv is a tool for running in containers as current user"
readme = "README.md"
authors = [{name = "Oskar Skoog", email = "oskar@osd.se"}]
license = "Apache-2.0"
license-files = ["LICENSE", "NOTICE"]
requires-python = ">=3.10"
classifiers = []
dependencies = [
"tomli; python_version < '3.11'",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/osks/ctenv"
Changelog = "https://github.com/osks/ctenv/releases"
Issues = "https://github.com/osks/ctenv/issues"
CI = "https://github.com/osks/ctenv/actions"
[project.scripts]
ctenv = "ctenv.cli:main"
[project.optional-dependencies]
test = [
"pytest",
"pytest-mock",
"pytest-cov",
"ruff",
"mypy",
"tox>=4.27.0",
"tox-uv>=1.26.1",
]
dev = [
"build>=1.2.2.post1",
]
[tool.setuptools]
packages = ["ctenv", "ctenv.binaries"]
include-package-data = true
[tool.setuptools.package-data]
ctenv = ["binaries/*", "LICENSE-gosu"]
[tool.setuptools.dynamic]
version = {attr = "ctenv.__version__"}
[tool.ruff.lint]
# ignore E731 - Allow lambda assignment in specific cases where it's more readable
ignore = ["E731"]
[tool.ruff]
line-length = 100
[tool.mypy]
python_version = "3.10"
warn_unused_configs = true
# Very permissive for gradual adoption
ignore_missing_imports = true
check_untyped_defs = false
disallow_untyped_defs = false
disable_error_code = ["no-any-return", "assignment", "arg-type", "attr-defined", "var-annotated", "union-attr"]
[dependency-groups]
dev = [
"pytest>=8.4.1",
]