Commit Graph

32 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
54e006c23d Upgrade black dependency (#8236)
updates:
- [github.com/psf/black: 22.3.0 → 22.6.0](https://github.com/psf/black/compare/22.3.0...22.6.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-07-05 00:02:43 +01:00
Alex Waygood
f5f37fed3a Upgrade pytype (#8164) 2022-06-25 18:15:43 +01:00
Stephen Rosen
199132122b Add pre-commit config for flake8 (#8068)
This makes it easier to lint your own work with `pre-commit`, but doesn't change the CI config by adding this to the pre-commit.ci skip list.

There's no way to automatically reflect the additional dependencies from the requirements file, so the flake8 plugin list needs to be a verbatim copy.

resolves #7991
2022-06-14 02:30:09 +01:00
Alex Waygood
15ad2657db Upgrade pytype (#8025)
Unblocks #7865
2022-06-07 12:13:05 +01:00
Sebastian Rittau
301caad709 Update mypy to 0.960 (#7948) 2022-05-25 14:44:22 +02:00
Alex Waygood
dd080d9840 Upgrade flake8-pyi to 22.5.1 (#7882) 2022-05-19 19:59:25 +02:00
Jelle Zijlstra
68a781d04e Upgrade pytype (#7823) 2022-05-10 14:47:10 -07:00
Alex Waygood
f8547a3f31 Use flake8-pyi 22.5.0, remove redundant parts of check_new_syntax (#7821) 2022-05-10 09:34:41 -07:00
Jelle Zijlstra
1f2a970b94 Upgrade mypy to 0.950 (#7726) 2022-04-27 19:25:02 +02:00
Sebastian Rittau
54c8f45869 pytype now supports Python 3.10 (#7700) 2022-04-27 10:59:34 +02:00
Alex Waygood
a95a862ca8 Upgrade to pytype 2022.4.26 (#7699) 2022-04-26 15:40:47 -06:00
Alex Waygood
197dac2c0c Upgrade flake8-pyi to 22.4.1 (#7662) 2022-04-18 22:52:44 +01:00
Alex Waygood
7ce4607dee Upgrade flake8-pyi to 22.4.0, enable Y026 in .flake8 config (#7650) 2022-04-17 01:23:35 +01:00
Alex Waygood
be64b01e6c Upgrade black version (#7582) 2022-04-03 22:34:44 +01:00
Sebastian Rittau
9687d53b65 Use explicit type aliases in _typeshed (#7534) 2022-03-30 11:06:07 +02:00
Alex Waygood
1192db784c Use flake8-pyi 22.3.0 (#7557)
Hot off the presses!
2022-03-26 19:27:11 +00:00
Alex Waygood
4b63f345ad Upgrade mypy version to 0.942 (#7547) 2022-03-24 18:42:26 +01:00
Sebastian Rittau
b307142f62 Update pytype to 2022.3.21 (#7532) 2022-03-22 08:30:03 +00:00
Sebastian Rittau
fdc5863337 Use stubtest 0.941 (#7490) 2022-03-15 00:37:34 -07:00
Jelle Zijlstra
fa332220b7 Fix mypy test (#7478)
* Fix `mypy_test.py` so that it actually tests the third-party stubs
* Upgrade to mypy 0.940
* Skip running mypy on `SQLAlchemy` stubs for now, to workaround a mypy crash.

Because we didn't set mypy's clean_exit parameter, it was exiting immediately after checking the stdlib, meaning `mypy_test.py` wasn't checking the third-party stubs at all.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-03-13 13:01:14 +00:00
Alex Waygood
062fc75d73 Upgrade pytype to 22.2.23 (#7375)
Unblocks #7343
2022-02-23 17:39:27 -08:00
Alex Waygood
189e4ea396 Use flake8-pyi 22.2.0 (#7338) 2022-02-20 17:46:42 -08:00
Sebastian Rittau
2dc53caffe Improve abc module and builtin function decorators (#5703) 2022-02-02 16:22:32 +01:00
Shantanu
b88a6f19cd Upgrade black version (#7089) 2022-01-30 16:27:06 -08:00
Jelle Zijlstra
c8471ea631 use flake8-pyi 22.1.0 (#7004) 2022-01-23 12:43:48 -08:00
Sebastian Rittau
2ad8db51ad Update to mypy 0.931 (#6850)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-01-07 19:21:10 +01:00
Sebastian Rittau
eee7f71f23 Update pytype (#6839)
* Update pytest and pyright

* Don't upgrade pyright
2022-01-06 00:06:46 -08:00
Nipunn Koorapati
23e9d87853 Add python310 marker to test requirements for pytype (#6805) 2022-01-04 10:59:26 +02:00
Sebastian Rittau
ca87296daf Update to mypy 0.930 (#6660)
* Update to mypy 0.930

* Temporarily pin stubtest to 0.921
2021-12-22 12:10:45 -08:00
Sebastian Rittau
bf246b28a9 Update to mypy 0.921 (#6657)
Test third-party stubs with typeshed from mypy
2021-12-22 07:57:07 -08:00
Sebastian Rittau
dae0b127ca Upgrade mypy to 0.920 (#6611)
Temporily pin mypy used for stubtest checks to 0.910, until the stubtest
problems are addressed.
2021-12-16 17:53:36 +01:00
Sebastian Rittau
206e1ae91b Remove 'py3' from requirements filename (#6509) 2021-12-06 12:59:04 +02:00