forked from alterapars/drought_classification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
151 lines (114 loc) · 2.83 KB
/
setup.cfg
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
147
148
149
150
151
##########################
# Setup.py Configuration #
##########################
# Configuring setup()
[metadata]
name = drought-prediction
version = 0.0.1-dev
[options]
install_requires =
numpy # why? <= 1.18.5
netcdf4 # required for opening raw input files
pandas # xarray dependency
xarray[complete] #http://xarray.pydata.org/en/stable/getting-started-guide/installing.html
scipy
sklearn
matplotlib
seaborn
pystow # storing data for packages
tables # storing pandas tables in HDF
ray[tune] # hpo
cdsapi # for downloading data
class-resolver>=0.0.6 # for resolving choices
tensorflow
# Where is my code
packages = find:
package_dir =
= src
[options.packages.find]
where = src
[options.extras_require]
test =
flake8
flake8-import-order
flake8-commas
mypy
pytest
pytest-cov
tfcpu =
tensorflow~=2.2.0
tfgpu =
tensorflow-gpu~=2.2.0
mlflow =
mlflow
[options.entry_points]
console_scripts =
drought = drought_prediction.cli:main
#########################
# Flake8 Configuration #
# (.flake8) #
#########################
[flake8]
ignore =
# line too long
E501
# Line break occurred before / after a binary operator, cf. https://www.flake8rules.com/rules/W504.html
W504 W503
# not shown in vscode as error:
C812 C815 E203 C819 I202
import-order-style = pycharm
##########################
# mypy Configuration #
##########################
[mypy]
[mypy-cdsapi]
ignore_missing_imports = True
[mypy-class_resolver]
ignore_missing_imports = True
[mypy-joblib]
ignore_missing_imports = True
[mypy-numpy]
ignore_missing_imports = True
[mypy-pandas]
ignore_missing_imports = True
[mypy-pystow]
ignore_missing_imports = True
[mypy-ray]
ignore_missing_imports = True
[mypy-ray.tune.sample]
ignore_missing_imports = True
[mypy-ray.tune.integration.mlflow]
ignore_missing_imports = True
[mypy-ray.tune.trial]
ignore_missing_imports = True
[mypy-ray.tune.utils]
ignore_missing_imports = True
[mypy-sklearn]
ignore_missing_imports = True
[mypy-sklearn.base]
ignore_missing_imports = True
[mypy-sklearn.ensemble]
ignore_missing_imports = True
[mypy-sklearn.metrics]
ignore_missing_imports = True
[mypy-sklearn.model_selection]
ignore_missing_imports = True
[mypy-sklearn.neighbors]
ignore_missing_imports = True
[mypy-sklearn.neural_network]
ignore_missing_imports = True
[mypy-sklearn.preprocessing]
ignore_missing_imports = True
[mypy-sklearn.svm]
ignore_missing_imports = True
[mypy-tensorflow]
ignore_missing_imports = True
########################
# Pytest Configuration #
# (pytest.ini) #
########################
[tool:pytest]
addopts = --strict-markers
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
authentication: marks tests as requiring authentication (deselect with '-m "not authentication"')