-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (104 loc) · 2.97 KB
/
pyproject.toml
File metadata and controls
118 lines (104 loc) · 2.97 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
114
115
116
117
118
[project]
name = "imessage-data-foundry"
dynamic = ["version"]
description = "Generate realistic, schema-accurate iMessage databases for testing and development"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.11"
authors = [
{ name = "John Larkin", email = "john@johnjlarkin.com" }
]
keywords = ["imessage", "sqlite", "testing", "mock-data", "macos"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Testing",
"Topic :: Database",
]
dependencies = [
"textual>=0.47.0",
"rich>=13.7.0",
"InquirerPy>=0.3.4",
"openai>=1.12.0",
"anthropic>=0.18.0",
"pydantic>=2.6.0",
"pydantic-settings>=2.2.0",
"faker>=24.0.0",
"phonenumbers>=8.13.0",
"huggingface-hub>=0.20.0",
"psutil>=5.9.0",
"mlx-lm>=0.25.2; sys_platform == 'darwin'",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.1.0",
"mypy>=1.8.0",
"ruff>=0.3.0",
"types-psutil>=5.9.0",
]
[project.scripts]
imessage-data-foundry = "imessage_data_foundry.__main__:main"
[project.urls]
Homepage = "https://github.com/johnlarkin1/imessage-data-foundry"
Repository = "https://github.com/johnlarkin1/imessage-data-foundry"
Issues = "https://github.com/johnlarkin1/imessage-data-foundry/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["imessage_data_foundry"]
[tool.hatch.version]
path = "imessage_data_foundry/__init__.py"
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG", # flake8-unused-arguments
"SIM", # flake8-simplify
"PLC0415", # import-outside-toplevel
]
ignore = [
"E501", # line too long (handled by formatter)
"B008", # do not perform function calls in argument defaults
]
[tool.ruff.lint.isort]
known-first-party = ["imessage_data_foundry"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "-v --cov=imessage_data_foundry --cov-report=term-missing"
[tool.coverage.run]
source = ["imessage_data_foundry"]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]