-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
135 lines (115 loc) · 3.09 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
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[build-system]
requires = [
"setuptools>=61",
"wheel",
"setuptools_scm>=6.2"
]
build-backend = "setuptools.build_meta"
[project]
name = "insight"
description = "A python library for monitoring, comparing and extracting insights from data."
readme = "README.md"
license = {text = "BSD 3-Clause License"}
requires-python = ">= 3.8"
authors = [
{ name = "Synthesized Ltd.", email = "ml@synthesized.io" },
{ name = "Daniel Sabanov", email = "daniel@sadogursky.com" },
{ name = "Simon Swan", email = "shk.swan@gmail.com" }
]
keywords = [
"metrics",
"data",
"evaluation",
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering",
]
dynamic = ["version"]
dependencies = [
"matplotlib >= 3.4",
"numpy >= 1.18",
"pandas >= 1.2",
"scipy >= 1.5",
"seaborn >= 0.11.0",
"cachetools >= 5.0",
]
[project.optional-dependencies]
db = [
"alembic",
"sqlalchemy >= 2.0",
"psycopg2 >= 2.9; platform_machine!='arm64' or platform_system!='Darwin'",
"psycopg2-binary >= 2.9; platform_machine=='arm64' or platform_system=='Darwin'",
]
test = [
"pytest",
"pytest-cov",
]
dev = [
"pre-commit",
"pylint",
]
[project.scripts]
insight-migrations = "insight.alembic.main:main"
[project.urls]
homepage = "https://github.com/synthesized-io/insight"
documentation = "https://docs.synthesized.io/"
repository = "https://github.com/synthesized-io/insight"
[tool]
[tool.setuptools]
platforms = [
"MacOS",
"Windows",
"Linux",
]
[tool.setuptools.dynamic]
version = {attr = "insight.version.version"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools_scm]
write_to = "src/insight/version.py"
[tool.setuptools.package-data]
insight = ["src/insight/fonts/SourceSansPro-Regular.ttf", "py.typed"]
[tool.pytest.ini_options]
junit_suite_name = "unit"
junit_logging = "all"
junit_log_passing_tests = true
junit_duration_report = "call"
junit_family = "xunit1"
log_level = "INFO"
[tool.mypy]
plugins = "numpy.typing.mypy_plugin, sqlalchemy.ext.mypy.plugin"
disallow_any_generics = false
disable_error_code = "type-arg"
[[tool.mypy.overrides]]
module = "pandas.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "matplotlib.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "scipy.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "seaborn.*"
ignore_missing_imports = true
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 100
[tool.black]
line-length = 100