-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (100 loc) · 2.53 KB
/
pyproject.toml
File metadata and controls
113 lines (100 loc) · 2.53 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
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 = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mfbt-cli"
version = "0.1.9"
description = "CLI tool for the mfbt platform — interactive TUI and subcommands for managing mfbt projects"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [
{ name = "Zipstack", email = "engineering@zipstack.com" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"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 :: Libraries :: Application Frameworks",
"Typing :: Typed",
]
dependencies = [
"typer>=0.9.0",
"rich>=13.0.0",
"httpx>=0.24.0",
"platformdirs>=3.0.0",
"websockets>=12.0",
"textual>=0.86.0",
]
[project.urls]
Homepage = "https://github.com/Zipstack/mfbt-cli"
Repository = "https://github.com/Zipstack/mfbt-cli"
Issues = "https://github.com/Zipstack/mfbt-cli/issues"
[project.scripts]
mfbt = "mfbt.__main__:main"
[tool.hatch.build.targets.sdist]
exclude = [
".mfbt/",
".claude/",
"tests/",
".git/",
".venv/",
".pytest_cache/",
".mypy_cache/",
".ruff_cache/",
".coverage",
"*.egg-info/",
"__pycache__/",
"*.pyc",
".DS_Store",
"openapi.json",
"uv.lock",
]
[tool.hatch.build.targets.wheel]
packages = ["src/mfbt"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
markers = [
"integration: integration tests (deselect with '-m not integration')",
"slow: tests that take >5 seconds",
]
asyncio_mode = "auto"
addopts = "--strict-markers"
[tool.coverage.run]
source = ["src/mfbt"]
branch = true
[tool.coverage.report]
show_missing = true
fail_under = 75
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
no_implicit_optional = true
check_untyped_defs = true
mypy_path = "src"
[tool.ruff]
src = ["src", "tests"]
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP", "B", "SIM"]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101"]
[tool.black]
target-version = ["py310"]
line-length = 88