-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
146 lines (129 loc) · 3.08 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
136
137
138
139
140
141
142
143
144
145
146
[tool.poetry]
name = 'iowa_sales_forecast'
version = '0.0.2'
description = 'Iowa liquor sales forecasting model.'
license = 'MIT'
authors = ['Ingwersen_erik <[email protected]>']
readme = 'README.md'
repository = 'https://github.com/erik-ingwersen-ey/iowa_liquor_sales_forecast'
homepage = 'https://github.com/erik-ingwersen-ey/iowa_liquor_sales_forecast'
documentation = 'https://erik-ingwersen-ey.github.io/iowa_liquor_sales_forecast'
keywords = ['forecast', 'liquor', 'sales', 'iowa']
packages = [
{ include = 'iowa_forecast' },
]
include = [
'*.md',
'*.rst',
'*.cfg',
'*.txt',
'.flake8',
'.pylintrc',
'tox.ini',
'Makefile',
'CHANGES',
'LICENSE',
'MANIFEST.in',
'requirements.txt',
'tests/*',
]
[tool.poetry.dependencies]
python = '>=3.8,<3.11'
db-dtypes = "^1.2.0"
furo = "^2024.8.6"
google-cloud-bigquery = "^3.25.0"
google-cloud-bigquery-storage = "^2.25.0"
google-cloud-iam = "^2.15.2"
google-cloud-logging = "^3.11.1"
matplotlib = "3.6.0"
myst-parser = "3.0.1"
numpy = "1.24.4"
numpydoc = "^1.7.0"
pandas = "2.0.3"
plotly = "^5.23.0"
pylint = "2.15.10"
pytest = "^8.3.2"
pytest-cov = "^5.0.0"
python-dateutil = "^2.9.0.post0"
rich = "^13.7.1"
scipy = "1.10.1"
seaborn = "^0.13.2"
sphinx = "7.1.2"
sphinx-click = "^6.0.0"
sphinx-inline-tabs = "^2023.4.21"
sphinx-pyreverse = "^0.0.18"
[tool.poetry.scripts]
poetry = 'poetry.console:run'
#[tool.poetry.extras]
[build-system]
# Minimum requirements for the build system to execute.
# See https://github.com/scipy/scipy/pull/12940 for the AIX issue.
build-backend = 'poetry.core.masonry.api'
requires = [
'poetry-core>=1.0.0',
'wheel',
'setuptools'
]
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 120
skip_gitignore = true
# you can skip files as below
skip_glob = 'docs/conf.py'
[tool.black]
line-length = 120
skip-string-normalization = true
target-version = ['py37', 'py38', 'py39']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| docs
| scripts
| shell_scripts
)/
'''
[tool.mypy]
check_untyped_defs = true
ignore_missing_imports = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
files = 'iowa_forecast'
# The following allowlist is used to allow for incremental adoption
# of Mypy. Modules should be removed from this allowlist as and when
# their respective type errors have been addressed. No new modules
# should be added to this allowlist.
# see https://github.com/python-poetry/poetry/pull/4510.
[[tool.mypy.overrides]]
module = [
'poetry.config.file_config_source',
'poetry.console.*',
'poetry.factory.*',
'poetry.inspection.*',
'poetry.installation.*',
'poetry.layouts.*',
'poetry.mixology.*',
'poetry.packages.locker',
'poetry.repositories.installed_repository',
'poetry.utils.*'
]
ignore_errors = true
[tool.coverage.report]
exclude_lines = [
'pragma: no cover',
'if TYPE_CHECKING:'
]