-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
194 lines (141 loc) · 3.74 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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
[bumpversion]
current_version = 0.135.1
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<release>(dev|rc))+(?P<build>\d+))?
serialize =
{major}.{minor}.{patch}-{release}{build}
{major}.{minor}.{patch}
[bumpversion:part:release]
first_value = dev
optional_value = ga
values =
dev
rc
ga
[bumpversion:part:build]
first_value = 1
[bumpversion:file:clients/rust.yaml]
search = packageVersion: "{current_version}"
replace = packageVersion: "{new_version}"
[bumpversion:file:clients/python.yaml]
search = packageVersion: "{current_version}"
replace = packageVersion: "{new_version}"
[bumpversion:file:clients/typescript.yaml]
search = npmVersion: "{current_version}"
replace = npmVersion: "{new_version}"
[bumpversion:file:print_nanny_webapp/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bumpversion:file:version.txt]
search = {current_version}
replace = {new_version}
[flake8]
max-line-length = 120
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules,venv
[pycodestyle]
max-line-length = 120
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules,venv
[mypy]
python_version = 3.9
check_untyped_defs = True
warn_unused_ignores = True
warn_redundant_casts = True
warn_unused_configs = True
show_error_codes = True
plugins =
mypy_django_plugin.main,mypy_drf_plugin.main
files =
print_nanny_webapp/**/*.py,config/**/*.py
exclude =
clients/*
[mypy.plugins.django-stubs]
django_settings_module = config.settings.test
[mypy-oauth2_provider.*]
ignore_missing_imports = True
[mypy-organizations.*]
ignore_missing_imports = True
[mypy-dj_rest_auth.*]
ignore_missing_imports = True
[mypy-django_nats_nkeys.*]
ignore_missing_imports = True
[mypy-django_ghost.*]
ignore_missing_imports = True
[mypy-coolname.*]
ignore_missing_imports = True
[mypy-organizations.models.*]
ignore_missing_imports = True
[mypy-anymail.*]
ignore_missing_imports = True
[mypy-drf_yasg.generators]
ignore_missing_imports = True
[mypy-PIL.*]
ignore_missing_imports = True
[mypy-safedelete.*]
ignore_missing_imports = True
[mypy-stripe.*]
ignore_missing_imports = True
[mypy-environ.*]
ignore_missing_imports = True
[mypy-polymorphic.*]
ignore_missing_imports = True
[mypy-health_check.*]
ignore_missing_imports = True
[mypy-qrcode.*]
ignore_missing_imports = True
[mypy-factory.*]
ignore_missing_imports = True
[mypy-allauth.*]
ignore_missing_imports = True
[mypy-djstripe.*]
ignore_missing_imports = True
[mypy-channels.*]
ignore_missing_imports = True
[mypy-django_filters.*]
ignore_missing_imports = True
[mypy-rest_framework_nested.*]
ignore_missing_imports = True
[mypy-*.migrations.*]
ignore_errors = True
[mypy-*.multiform.*]
ignore_errors = True
[mypy-*.alerts.*]
ignore_errors = True
[mypy-storages.*]
ignore_missing_imports = True
[mypy-google.auth.*]
ignore_missing_imports = True
[mypy-google.cloud.*]
ignore_missing_imports = True
[mypy-webpack_loader.*]
ignore_missing_imports = True
[mypy-drfpasswordless.*]
ignore_missing_imports = True
ignore_errors = True
[mypy-print_nanny_webapp.drfpasswordless.*]
ignore_errors = True
[mypy-print_nanny_webapp.utils.tf_object_detection.*]
ignore_errors = True
[mypy-print_nanny_webapp.*]
ignore_missing_imports = True
[mypy-print_nanny_webapp.telemetry.*]
ignore_errors = True
[mypy-posthog.*]
ignore_missing_imports = True
[mypy-rest_polymorphic.*]
ignore_missing_imports = True
[mypy-tensorflow.*]
ignore_missing_imports = True
[mypy-matplotlib.*]
ignore_missing_imports = True
[mypy-beeline.*]
ignore_missing_imports = True
[mypy-crispy_forms.*]
ignore_missing_imports = True
[mypy-config.urls]
ignore_errors = True
[coverage:run]
include = print_nanny_webapp/*
omit = *migrations*, *tests*
plugins =
django_coverage_plugin