Граф коммитов

341 Коммитов

Автор SHA1 Сообщение Дата
Avasam ca8036b836
Fix all reportAssertTypeFailure+reportGeneralTypeIssues (#339) 2024-11-08 07:16:46 -08:00
Avasam c7c8e26ce2
Fix all reportAttributeAccessIssue (#336) 2024-11-07 15:58:16 -08:00
Avasam 431162b520
remove unintended re-exports to reduce requirements (#327) 2024-11-07 15:48:20 -08:00
Avasam 311509d9ad
Fix all reportUndefinedVariable (#334) 2024-11-07 15:45:29 -08:00
Avasam fa91e267c8
Fix all reportInvalidTypeForm (#332) 2024-11-07 15:28:47 -08:00
Avasam 8c692c3efa
Fix all reportMissingImports (#333) 2024-11-07 15:17:00 -08:00
Avasam 27cb9acbb3
Fix all reportInvalidTypeArguments (#331) 2024-11-07 15:00:39 -08:00
Avasam 9911ac05b2
Fix all reportUnsupportedDunderAll and set as error (#335) 2024-11-07 14:49:05 -08:00
Avasam d7adc46a17
Fix type issues in non stubs (#324) 2024-11-07 14:37:14 -08:00
Avasam 97e16f0ae3
Make stubs installable from github (#338) 2024-11-07 12:56:18 -08:00
Avasam 090b434d52
Fix all reportFunctionMemberAccess (#330) 2024-11-07 12:11:06 -08:00
Avasam fd616610ed
Delete stubs/scipy-stubs/optimize/cython_optimize/__init__.pyi (#337) 2024-11-06 22:48:47 -08:00
Avasam 53334cc822
Fix all reportAssignmentType (#329) 2024-11-06 17:59:57 -08:00
Avasam 7e9bfa9731
Switch from Black to Ruff (#328)
* Reformat with Ruff

* Undocumented black deviations
2024-11-06 16:00:27 -08:00
Avasam f33aa549e6
Update automated tests, pass as-is (#301)
* Update automated tests, pass as-is

* Address PR comments

* Split formatters shell script

* Update and fix tests to run from anywhere

* Update tests

* Not installing pyright on CI

* Not a TODO

* Set pyright's typeCheckingMode to standard

* Use Python scripts instead and check pyright against pylance-prerelease

* Forgot to delete run_formatters

* typing_extensions goes under "Typed libraries and stubs"

* Bump minimum Python version to 3.9

* Missed mypy target version

* Unpin typing_extensions

* post-merge fix

* use docopt-ng instead of docopt

* Add type-var to mypy disable
2024-11-06 15:39:01 -08:00
Avasam 62181ec907
replace isort with Ruff (#325) 2024-11-06 11:24:54 -08:00
ara-incom 6702500cdf
Add types for HistGradientBoosting max_features argument (#323) 2024-10-28 20:47:34 -07:00
Erik De Bonte df107aecb4
Remove scipy stubs (#321) 2024-10-22 11:18:39 -07:00
InSync b46b33f788
Unmark `sklearn.metrics.mean_squared_error` and `mean_squared_log_error` as deprecated (#319) 2024-10-21 17:05:18 -07:00
Clément Pinard 70ddd7e3b6
Add overload function for sklearn to deal with sparse matrices (#316)
Co-authored-by: Clément <mail@clementpinard.fr>
Co-authored-by: Erik De Bonte <erikd@microsoft.com>
2024-09-19 16:09:09 -07:00
Einar Wigum Arbo 8af9287c2a
Add stubs for RMSE and RMSLE in sklearn.metrics (#317) 2024-09-19 14:37:03 -07:00
Ghislain Piot d3462bd38d
Correct some of the Scikit-learn stubs (#311) 2024-06-06 09:04:23 -07:00
Heejae Chang cd8f8654c3
Added new parameter (#313)
* added new parameter

* format
2024-05-08 13:34:19 -07:00
Avasam 2e0624116e
Fx sympy stubs to enable CI checks (#310) 2024-05-03 09:38:08 -07:00
Avasam 458264b954
Run isort & black, automaticly check in CI (#302)
* Run isort & black

* Automate on CI

* Address PR comments

* PR comments

* Keep scripts untouched

* Create extensions.json

* Black 2024 style

* isort on sympy-stubs

* black on sympy-stubs

---------

Co-authored-by: Erik De Bonte <erikd@microsoft.com>
2024-05-02 12:27:42 -07:00
Avasam 2651abf3e4
Removed build.sh (#305) 2024-05-02 12:11:14 -07:00
Rich Chiodo 88eaa9f396
PEP 561 actually specifies using `-stubs` on the end of a directory that is meant to be shipped separately (#308)
* Rename sympy to sympy-stubs

* actually submit the add
2024-03-21 11:17:06 -07:00
Rich Chiodo a2391020bd
Add type stubs for sympy (#307)
* Initial commit

* Update readme

* Add directions on how created

* More directions

* More directions

* Typo
2024-03-19 14:42:03 -07:00
Erik De Bonte e328827329
Revert "Remove matplotlib stubs and tests" (#299) 2023-09-27 12:46:10 -07:00
Avasam ef1bbd089a
Remove matplotlib stubs and tests (#298) 2023-09-27 11:10:48 -07:00
Jae-Won Chung 57e04e2471
Add `graph` instance attribute to `nx.Graph` (#297) 2023-09-11 11:14:47 -07:00
Gemma Boyle dbb623eea9
Fix incorrect argument listedcolormap (#295) 2023-09-07 09:59:36 -07:00
Bill Schnurr 2c107c3a01
removing ligh-gbm stubs, since now they are py.typed starting v4.0.0 (#294) 2023-08-23 07:33:08 -07:00
Avasam 1638505225
Remove cv2 stubs now that they're generated (#292) 2023-08-11 17:01:29 -07:00
Stella 1add73961c
add some overloads based on literal values (#293) 2023-07-18 14:18:35 -07:00
Stella c9e274582d
Merge pull request #291 from StellaHuang95/openCV
Import overload from typing modules
2023-06-21 13:41:01 -07:00
Stella 914b6437f5 change to use typing.overload 2023-06-21 13:03:45 -07:00
Stella 035d599e9a import overload from typing 2023-06-21 12:03:52 -07:00
Avasam cd96d85a4e
Update partial Transformers stubs (#290) 2023-06-12 18:11:21 -07:00
Avasam 4d5e094eaa
Completed cv2.Error and cv2.error types (#219) 2023-06-05 19:19:18 -07:00
Stella 9cffbbddf5
Merge pull request #289 from StellaHuang95/sklearnStubs
Make GridSearchCV generic in sklearn stubs.
2023-06-05 14:22:55 -07:00
Stella 421dacd318 set convariant to true 2023-06-05 12:07:03 -07:00
Stella c12a6b9b8c update sklearn stubs 2023-06-05 10:19:10 -07:00
Rickey K. Liang d0bf2914b7
Rework `__init__.pyi` files in networkx (#287) 2023-05-26 14:42:33 -07:00
Erik De Bonte b3793d1b11
Add types to cv.resize() function + cv2 minor fixes (#285)
Co-authored-by: @FelipeSanchezSoberanis
Co-authored-by: @xnuk
2023-05-26 13:50:32 -07:00
Erik De Bonte 392d28dfe0
Add missing py.typed files (#284) 2023-05-25 17:47:05 -07:00
Erik De Bonte 36729805bb
Move stubs to new `stubs` subdirectory (#282) 2023-05-25 14:39:34 -07:00
Erik De Bonte 7371744823
Update upstream list in README (#283) 2023-05-25 14:34:49 -07:00
Erik De Bonte 1a8ec9e1d1
Remove openpyxl stubs; there are stubs in typeshed (#281) 2023-05-25 14:15:04 -07:00
Avasam 676f45e267
Remove upstreamed SQLAlchemy stubs (#276) 2023-05-25 10:33:32 -07:00