Commit 8f99ff6
[WIP] Add 781 (#922)
* Add Flake8 configuration
Uses the configuration from ci_scripts
* Add mypy configuration file
Based on the ci_scripts parameters.
* Pre-commit mypy flake8, add flake8 excludes
Any venv folder does not need flake8.
The example directory got flake8 warnings so I assumed it should be
excluded.
* Add Black to pre-commit
Add ignore E203 as Black will observe PEPs specification for white space
around a colon it is next to an expression.
* Set max line length to 100
* Blacken code
There are a few places where big indentation is introduced that may
warrant refactoring so it looks better.
I did not refactor anything yet, but did exlude three (?) lists (of ids)
to not be formatted.
* Add unit tests to flake8 and mypy pre-commit
* Use pre-commit for flake8, mypy and black checks
This ensures it runs with the same versions and settings as developers.
* Update docs, add 'test' dependencies
Add two other developer dependencies not strictly required for unit
tests, but required for development.
I think the overlap between people who want to execute unit tests and
perform commits is (close to) 100% anyway.
* Uninstall pytest-cov on appveyor ci
It seems to cause an error on import due to a missing sqlite3 dll.
As we don't check coverage anyway, hopefully just uninstalling is
sufficient.
* Add -y to uninstall
* Sphinx issue fix (#923)
* Sphinx issue fix
* Removing comment
* More robust handling of openml_url (#921)
I ran into issues when the openml server config is not exactly 'https://www.openml.org/api/v1/xml', e.g. I had 'https://www.openml.org/api/v1'.
I only noticed when getting a bad dataset url.
This edit makes the API more robust against how exactly the server URL is set in the config.
* format for black artifacts
* Add Flake8 configuration
Uses the configuration from ci_scripts
* Add mypy configuration file
Based on the ci_scripts parameters.
* Pre-commit mypy flake8, add flake8 excludes
Any venv folder does not need flake8.
The example directory got flake8 warnings so I assumed it should be
excluded.
* Add Black to pre-commit
Add ignore E203 as Black will observe PEPs specification for white space
around a colon it is next to an expression.
* Set max line length to 100
* Blacken code
There are a few places where big indentation is introduced that may
warrant refactoring so it looks better.
I did not refactor anything yet, but did exlude three (?) lists (of ids)
to not be formatted.
* Add unit tests to flake8 and mypy pre-commit
* Use pre-commit for flake8, mypy and black checks
This ensures it runs with the same versions and settings as developers.
* Update docs, add 'test' dependencies
Add two other developer dependencies not strictly required for unit
tests, but required for development.
I think the overlap between people who want to execute unit tests and
perform commits is (close to) 100% anyway.
* Uninstall pytest-cov on appveyor ci
It seems to cause an error on import due to a missing sqlite3 dll.
As we don't check coverage anyway, hopefully just uninstalling is
sufficient.
* Add -y to uninstall
* format for black artifacts
Co-authored-by: Neeratyoy Mallik <[email protected]>
Co-authored-by: Joaquin Vanschoren <[email protected]>1 parent 861600b commit 8f99ff6
File tree
93 files changed
+5751
-5428
lines changed- ci_scripts
- doc
- examples
- 20_basic
- 30_extended
- 40_paper
- openml
- datasets
- evaluations
- extensions
- sklearn
- flows
- runs
- setups
- study
- tasks
- tests
- test_datasets
- test_evaluations
- test_extensions
- test_sklearn_extension
- test_flows
- test_openml
- test_runs
- test_setups
- test_study
- test_tasks
- test_utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
93 files changed
+5751
-5428
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 112 | + | |
117 | 113 | | |
118 | | - | |
119 | | - | |
| 114 | + | |
120 | 115 | | |
121 | | - | |
122 | | - | |
123 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
124 | 119 | | |
125 | | - | |
126 | | - | |
| 120 | + | |
127 | 121 | | |
128 | | - | |
129 | | - | |
130 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
131 | 139 | | |
132 | | - | |
133 | | - | |
| 140 | + | |
134 | 141 | | |
| 142 | + | |
135 | 143 | | |
136 | 144 | | |
137 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
| 128 | + | |
130 | 129 | | |
131 | 130 | | |
132 | | - | |
133 | 131 | | |
134 | 132 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
142 | 140 | | |
143 | | - | |
144 | 141 | | |
145 | | - | |
146 | | - | |
| 142 | + | |
147 | 143 | | |
148 | | - | |
149 | | - | |
| 144 | + | |
150 | 145 | | |
151 | | - | |
152 | | - | |
| 146 | + | |
153 | 147 | | |
154 | 148 | | |
155 | | - | |
156 | | - | |
| 149 | + | |
157 | 150 | | |
158 | 151 | | |
159 | 152 | | |
160 | 153 | | |
161 | 154 | | |
162 | 155 | | |
163 | 156 | | |
164 | | - | |
165 | | - | |
| 157 | + | |
166 | 158 | | |
167 | 159 | | |
168 | | - | |
169 | | - | |
| 160 | + | |
170 | 161 | | |
171 | 162 | | |
172 | | - | |
173 | | - | |
| 163 | + | |
174 | 164 | | |
175 | 165 | | |
176 | | - | |
177 | | - | |
| 166 | + | |
178 | 167 | | |
179 | 168 | | |
180 | 169 | | |
181 | 170 | | |
182 | | - | |
183 | | - | |
| 171 | + | |
184 | 172 | | |
185 | 173 | | |
186 | | - | |
| 174 | + | |
187 | 175 | | |
188 | 176 | | |
189 | 177 | | |
| |||
224 | 212 | | |
225 | 213 | | |
226 | 214 | | |
227 | | - | |
| 215 | + | |
228 | 216 | | |
229 | 217 | | |
230 | 218 | | |
| |||
257 | 245 | | |
258 | 246 | | |
259 | 247 | | |
260 | | - | |
| 248 | + | |
261 | 249 | | |
262 | 250 | | |
263 | 251 | | |
264 | 252 | | |
265 | 253 | | |
266 | 254 | | |
267 | 255 | | |
268 | | - | |
269 | 256 | | |
270 | 257 | | |
271 | | - | |
272 | 258 | | |
273 | 259 | | |
274 | 260 | | |
275 | 261 | | |
276 | 262 | | |
277 | 263 | | |
278 | 264 | | |
279 | | - | |
280 | | - | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
281 | 268 | | |
282 | 269 | | |
283 | 270 | | |
| |||
304 | 291 | | |
305 | 292 | | |
306 | 293 | | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
| 294 | + | |
311 | 295 | | |
312 | 296 | | |
313 | 297 | | |
| |||
319 | 303 | | |
320 | 304 | | |
321 | 305 | | |
322 | | - | |
323 | | - | |
324 | | - | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
325 | 315 | | |
326 | 316 | | |
327 | 317 | | |
| |||
343 | 333 | | |
344 | 334 | | |
345 | 335 | | |
346 | | - | |
| 336 | + | |
347 | 337 | | |
348 | | - | |
| 338 | + | |
349 | 339 | | |
350 | | - | |
| 340 | + | |
351 | 341 | | |
352 | | - | |
| 342 | + | |
353 | 343 | | |
354 | 344 | | |
355 | 345 | | |
| |||
0 commit comments