-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
101 lines (85 loc) · 1.73 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
[tool.poetry]
name = "graphite-demo"
version = "0.1.0"
description = ""
authors = ["Pozz <[email protected]>"]
[tool.poetry.dependencies]
python = "~3.10"
streamlit = "^1.20.0"
[tool.poetry.group.dev.dependencies]
mypy = "^1.1.1"
flake8 = "^6.0.0"
black = "^23.1.0"
isort = "^5.12.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
exclude = '''
(
\venv |
\.DS_Store |
\.githooks |
\.html$ |
\.idea |
\.json$ |
\.pyc$ |
\.sql$ |
\.vscode |
\.venv |
node_modules
)
'''
[tool.isort]
profile = "black"
line_length = 100
[tool.pytest.ini_options]
log_cli = "True"
log_cli_level = "WARNING"
addopts = '--strict-markers'
[tool.mypy]
plugins = "numpy.typing.mypy_plugin"
# same as "mypy --strict" (except for "--warn-unused-configs")
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
enable_error_code = "unused-awaitable"
implicit_reexport = false
no_implicit_optional = true
no_namespace_packages = true
strict_equality = true
strict_optional = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = [
"aiocache.*",
"asyncio_pool",
"base58.*",
"bsp_slack.*",
"cachetools.*",
"cloudpickle.*",
"decouple",
"deepdiff.*",
"google.*",
"googlecloudprofiler",
"httpx.*",
"isodate.*",
"matplotlib.*",
"plotly.*",
"ptpython.*",
"scipy.*",
"sklearn.*",
"scipy.optimize",
"spl.*",
"tqdm",
"vcr.*",
"wrapt.*",
]
ignore_missing_imports = true