Alex Waygood
8597724ac1
Update typing_extensions stubs for v4.8.0 ( #10726 )
2023-09-18 11:30:28 +01:00
Alex Waygood
487e33112e
Bump various test dependencies ( #10693 )
2023-09-11 14:18:48 +01:00
Alex Waygood
ef758b66c0
Bump mypy to 1.5.1 ( #10559 )
2023-08-16 12:18:31 -07:00
Sebastian Rittau
da946f36da
Bump pytype to 2023.8.14 ( #10581 )
2023-08-15 11:39:37 +01:00
Jelle Zijlstra
f577c4c133
Update typing_extensions for 4.7.* ( #10344 )
2023-07-22 12:51:22 +01:00
Alex Waygood
65cb3735ec
Bump pytype and ruff test dependencies ( #10499 )
2023-07-22 12:39:16 +01:00
Alex Waygood
2887f60196
Use ruff, not pycln, for removing unused imports ( #10498 )
2023-07-22 12:14:27 +01:00
Alex Waygood
5498cabfe2
Bump various test dependencies ( #10492 )
2023-07-21 00:09:19 +01:00
Alex Waygood
79e092e133
Add some ruff autofixes to CI ( #10458 )
2023-07-20 14:41:52 +02:00
Alex Waygood
7fdd05003a
pytype_test.py: Use importlib.metadata instead of pkg_resources ( #10391 )
2023-06-30 21:37:06 +01:00
Alex Waygood
b6a422112b
Pin typing_extensions to 4.6.3 ( #10385 )
...
Our CI is very red on `main` at the moment, due to the release of typing_extensions 4.6.3 (see #10383 ). #10344 is the fix for this, but that PR breaks pytype. For now, let's just pin to 4.6.3 to get CI green again.
2023-06-29 06:24:30 -07:00
Alex Waygood
5ee46bd291
Bump various test dependencies ( #10378 )
2023-06-28 14:22:49 +01:00
Alex Waygood
1b2e4091db
Bump mypy to 1.4.1 ( #10351 )
2023-06-25 16:45:09 -07:00
Sebastian Rittau
ce222e5cd7
Split requirements file into sections ( #10309 )
...
Also note that type checkers and linters should be pinned to a specific
version.
2023-06-12 20:18:16 +02:00
Alex Waygood
d8ef303e00
Bump pycln and pathspec test dependencies ( #10251 )
2023-06-03 14:46:33 +01:00
Jelle Zijlstra
7bc4be08d8
Update some dependencies ( #10243 )
2023-06-02 16:54:52 -07:00
Rebecca Chen
e98a87ff14
Trim pytype_exclude_list. ( #10208 )
...
* Updates pytype to latest version.
* Removes files from pytype_exclude_list that can now be parsed.
2023-05-24 19:35:19 -07:00
Nikita Sobolev
6c54c74a84
Bump mypy to 1.3.0 ( #10173 )
...
Co-authored-by: AlexWaygood <alex.waygood@gmail.com >
2023-05-11 19:03:39 +01:00
Alex Waygood
99375e1b4c
Bump flake8-pyi to 23.5.0; re-enable F821 ( #10143 )
2023-05-05 18:06:10 +02:00
Avasam
1caac913ea
Add stubdefaulter to create_baseline_stubs.py ( #10127 )
2023-05-02 11:31:34 +01:00
Alex Waygood
2c3449694b
Run mypy and pyright on our py312 stubs in CI ( #10119 )
2023-04-30 15:31:08 +01:00
Alex Waygood
6f6b1c9135
Bump various test dependencies ( #10111 )
2023-04-29 18:20:06 +01:00
Nikita Sobolev
2bfb6d8212
Fix CI, use new termcolor version ( #10079 )
2023-04-24 07:17:23 -07:00
Alex Waygood
83f0dbe14c
Bump various test dependencies ( #10045 )
2023-04-13 14:34:32 +01:00
Alex Waygood
a035372a91
Bump various test dependencies ( #10028 )
2023-04-10 13:58:26 +01:00
pre-commit-ci[bot]
4d9ca511c0
[pre-commit.ci] pre-commit autoupdate ( #10007 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 23.1.0 → 23.3.0](https://github.com/psf/black/compare/23.1.0...23.3.0 )
* Update requirements-tests.txt
---------
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 >
2023-04-04 09:12:24 +01:00
Alex Waygood
f3fc792620
Bump flake8-pyi test dependency to 23.3.1 ( #9906 )
2023-03-20 19:19:01 +01:00
Alex Waygood
b7d1079e86
Bump various test dependencies ( #9886 )
2023-03-14 14:13:24 -07:00
Alex Waygood
51870544db
Bump pytype dependency to 2023.3.13 ( #9881 )
2023-03-14 09:40:54 +00:00
Akuli
a1979dffc2
Update mypy ( #9855 )
2023-03-08 11:34:54 +02:00
Avasam
14b06ae672
pytype_test.py: Fix typechecking errors following #9747 ( #9849 )
2023-03-06 18:23:07 +00:00
Avasam
75f47d0cb1
Typecheck typeshed's code with pyright ( #9793 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2023-02-22 18:53:07 +00:00
Avasam
41d7ddb5fe
Bump pytype to 2023.2.17 ( #9782 )
2023-02-20 22:41:25 +00:00
Alex Waygood
efee70abfa
Bump mypy to 1.0 ( #9684 )
2023-02-06 15:57:17 -08:00
Alex Waygood
8000fbd386
Bump various test dependencies ( #9646 )
2023-02-01 06:23:40 -08:00
Alex Waygood
8e7b78a8e8
Bump black to 23.1.0 ( #9647 )
2023-02-01 06:06:04 -08:00
Alex Waygood
cec6162146
Bump flake8-pyi to 23.1.2 ( #9643 )
2023-02-01 00:07:09 +00:00
Alex Waygood
1b5bd63f78
Bump isort to 5.12.0 ( #9617 )
2023-01-29 16:37:55 -08:00
Alex Waygood
b316dd947e
Bump flake8-pyi to 23.1.1 ( #9599 )
2023-01-28 07:39:30 -08:00
Alex Waygood
a4e3cfefac
Improve pre-commit config ( #9563 )
...
- Add a few more hooks. These are all very fast, and I've found them useful in other projects:
- Autofixes:
- `trailing-whitespace`: fixes trailing whitespace
- `requirements-txt-fixer`: alphabetises items in `requirements.txt` files
- `end-of-file-fixer`: makes sure every file ends with a single newline character
- `mixed-line-ending`: Makes sure Windows users don't accidentally introduce CRLF line endings into a file that uses LF line endings
- None-autofixes:
- `check-yaml`: loads YAML files to validate syntax
- `check-toml`: loads TOML files to validate syntax
- `check-merge-conflict`: detects merge-conflict strings in files and blocks them from accidentally being committed
- `check-case-conflict`: checks for files with names that would conflict on a case-insensitive filesystem like MacOS HFS+ or Windows FAT; blocks them from being committed.
- Change the bot schedule to quarterly, to reduce noisy PRs
- Change the `black` language target-version to Python 3.10, synching the setting here with the changes that were made to our `pyproject.toml` file in #7538
2023-01-18 06:29:18 -08:00
Alex Waygood
242ef6f2bd
Bump pytype to 2023.1.17 ( #9559 )
2023-01-18 01:35:11 +01:00
Alex Waygood
597e1a0078
Bump various test dependencies ( #9549 )
2023-01-16 11:04:45 -08:00
Avasam
63c7fb0914
Use environment marker to restrict flake8 install ( #9510 )
2023-01-12 09:57:18 +00:00
Rebecca Chen
622a96b1de
pytype_test: Mark typeshed-external dependencies as missing. ( #9486 )
...
Co-authored-by: Avasam <samuel.06@hotmail.com >
2023-01-10 22:00:43 +00:00
Avasam
c41fbc1303
Add typing-extensions to requirements-tests.txt ( #9438 )
2023-01-01 11:25:51 +00:00
Alex Waygood
59b1a78d5f
Bump various test dependencies ( #9412 )
2022-12-26 18:48:07 +00:00
pre-commit-ci[bot]
e6a04141ab
Bump isort requirement to 5.11.3 ( #9388 )
2022-12-20 02:01:41 +00:00
pre-commit-ci[bot]
12671e87e2
Bump black and isort ( #9356 )
...
updates:
- [github.com/psf/black: 22.10.0 → 22.12.0](https://github.com/psf/black/compare/22.10.0...22.12.0 )
- [github.com/pycqa/isort: 5.10.1 → 5.11.1](https://github.com/pycqa/isort/compare/5.10.1...5.11.1 )
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-12-13 02:09:02 +00:00
Alex Waygood
350b3c57da
Bump flake8 and flake8-noqa ( #9275 )
2022-11-25 11:51:00 +00:00
Alex Waygood
89f22278ba
Bump flake8-pyi and pytype versions used in CI ( #9268 )
2022-11-24 14:55:26 +00:00