Avasam
1a942aa36d
Replace Flake8 checks with Ruff (except for flake8-pyi) ( #11496 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2024-03-10 14:35:45 +00:00
Alex Waygood
e085a00a8e
Bump flake8-pyi to 24.3.0 ( #11560 )
2024-03-10 14:03:13 +00:00
Alex Waygood
35b74bc431
Rework our linting setup ( #11522 )
...
Co-authored-by: Avasam <samuel.06@hotmail.com >
2024-03-03 23:11:54 +00:00
Avasam
5cb2fe97a6
Replace flake8-bugbear with Ruff ( #11500 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2024-02-29 18:20:31 +00:00
Jelle Zijlstra
504cbd40fe
deps: upgrade pytype ( #11434 )
2024-02-16 22:06:25 -08:00
Alex Waygood
bf58d62e74
Update test dependencies ( #11361 )
2024-02-05 00:53:21 +00:00
Alex Waygood
c49c84f319
A new shade of Black ( #11362 )
2024-02-04 16:38:55 -08:00
Alex Waygood
ccc81f224d
Bump various test dependencies ( #11249 )
2024-01-05 14:09:02 -08:00
pre-commit-ci[bot]
d4daff337f
Update black to 23.12.1 ( #11216 )
...
updates:
- [github.com/psf/black-pre-commit-mirror: 23.12.0 → 23.12.1](https://github.com/psf/black-pre-commit-mirror/compare/23.12.0...23.12.1 )
2024-01-01 21:40:33 +00:00
Alex Waygood
16933b838e
Bump mypy (and a few other test dependencies) ( #11196 )
2023-12-21 22:57:58 +00:00
Alex Waygood
ad5ec921e0
Bump various test dependencies ( #11120 )
2023-12-08 11:01:36 +00:00
Alex Waygood
e21a2c70b7
Bump various test dependencies ( #11041 )
2023-11-18 15:12:06 +00:00
Alex Waygood
ac88fdfdbf
Bump various test dependencies ( #11030 )
2023-11-15 15:39:45 +00:00
Alex Waygood
516f665505
Bump flake8-pyi to 23.11.0 ( #10997 )
2023-11-08 16:01:24 +00:00
Nikita Sobolev
3f54f7e3de
Bump ruff ( #10988 )
2023-11-07 10:48:08 +00:00
Avasam
49ba409da8
Replace isort with Ruff ( #10912 )
2023-10-27 20:14:38 -07:00
Avasam
21fcd8960f
Use Ruff for from __future__ import annotations checks ( #10910 )
2023-10-19 11:40:41 +02:00
Nikita Sobolev
41ac46ce21
Bump ruff to 0.1.0 ( #10900 )
2023-10-17 11:03:38 +01:00
Alex Waygood
f3506eba47
Bump various test dependency pins ( #10877 )
2023-10-13 13:07:52 +02:00
pre-commit-ci[bot]
ff520ca9f2
Bump ruff to 0.0.292 ( #10830 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.287 → v0.0.292](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.287...v0.0.292 )
2023-10-03 12:54:45 +01:00
Alex Waygood
487e33112e
Bump various test dependencies ( #10693 )
2023-09-11 14:18:48 +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
5ee46bd291
Bump various test dependencies ( #10378 )
2023-06-28 14:22:49 +01: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
Alex Waygood
99375e1b4c
Bump flake8-pyi to 23.5.0; re-enable F821 ( #10143 )
2023-05-05 18:06:10 +02: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
Jonathan Plasse
0bb7d621d3
Fix pre-commit configuration ( #9748 )
...
* Fix flake8 pre-commit hook to run on pyi files too
* Fix pycln pre-commit hook
* Run on pyi files too
* Remove `stubs stdlib tests scripts` in args to avoid running pycln on files twice
2023-02-18 06:13:14 -08:00
Shantanu
660c832fa4
Remove prettier from pre-commit ( #9744 )
...
This doesn't autofix, see #9742
> GitHub prevented pre-commit.ci from autofixing this pr due to autofixes to a workflow file
Life is too short to spend it being yelled at by robots because line
length in some YAML is too long.
2023-02-16 15:38:39 -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
597e1a0078
Bump various test dependencies ( #9549 )
2023-01-16 11:04:45 -08:00
pre-commit-ci[bot]
d2d706f9d8
[pre-commit.ci] pre-commit autoupdate ( #9485 )
2023-01-10 03:25:01 +01:00
Avasam
7c15e6998f
Autoformat YAML files ( #9450 )
2023-01-03 08:55:06 +01: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