-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
80 lines (69 loc) · 1.98 KB
/
pyproject.toml
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
[project]
name = "imessage-conversation-analyzer"
version = "2.3.0"
description = "Analyzes the entire history of a macOS Messages conversation"
readme = "README.md"
requires-python = ">=3.9"
authors = [
{name = "Caleb Evans", email = "caleb@calebevans.me"}
]
maintainers = [
{name = 'Caleb Evans', email = 'caleb@calebevans.me'}
]
license = {file = 'LICENSE.txt'}
keywords = ["apple", "imessage", "macos", "conversation", "chat", "analysis", "pandas"]
dependencies = [
"pandas",
"pyarrow",
"tabulate",
"openpyxl",
"pytypedstream",
"phonenumbers",
"tzlocal"
]
[project.urls]
homepage = "https://github.com/caleb531/imessage-conversation-analyzer"
documentation = "https://github.com/caleb531/imessage-conversation-analyzer#readme"
repository = "https://github.com/caleb531/imessage-conversation-analyzer"
changelog = "https://github.com/caleb531/imessage-conversation-analyzer/releases"
[project.scripts]
ica = "ica.__main__:main"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools.package-data]
ica = ["*.json", "queries/*.sql", "py.typed"]
[tool.mypy]
exclude = ["build"]
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = [
"setuptools.*",
"pandas.*",
"tabulate.*",
"typedstream.*",
"nose2.*"
]
ignore_missing_imports = true
[tool.flake8]
# Black compatibility
max-line-length = 88
extend-ignore = ["E203", "W503"]
exclude = [".git", "build", "__pycache__", "*.egg-info", ".virtualenv"]
# Per <https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#profile>
[tool.isort]
profile = "black"
# Configuration for coverage.py (https://pypi.python.org/pypi/coverage)
[tool.coverage.run]
# Enable branch coverage
branch = true
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_lines = [
"pragma: no cover",
# Ignore non-runnable code
"if __name__ == .__main__.:",
"pass",
]
# Only check coverage for source files
include = ["ica/**/*.py"]