pre-commit-ci[bot]
45c1af5e24
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v1.19.0 → v1.19.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.19.0...v1.19.1 )
2025-12-15 22:21:22 +00:00
anthony sottile
a358fc3f6b
Merge pull request #2007 from PyCQA/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2025-12-01 19:12:24 -05:00
pre-commit-ci[bot]
72c267d2e5
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v1.18.2 → v1.19.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.18.2...v1.19.0 )
2025-12-01 22:40:09 +00:00
Ian Stapleton Cordasco
b84b2bd4a1
Merge pull request #2006 from PyCQA/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2025-11-24 16:29:35 -06:00
pre-commit-ci[bot]
01af84d980
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v3.21.1 → v3.21.2](https://github.com/asottile/pyupgrade/compare/v3.21.1...v3.21.2 )
2025-11-24 22:27:23 +00:00
anthony sottile
5fd56a3013
Merge pull request #2005 from PyCQA/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2025-11-10 17:56:36 -05:00
pre-commit-ci[bot]
e7682d020c
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v3.21.0 → v3.21.1](https://github.com/asottile/pyupgrade/compare/v3.21.0...v3.21.1 )
2025-11-10 22:38:48 +00:00
anthony sottile
fcfa2cd490
Merge pull request #2001 from PyCQA/py310
...
py310+
2025-10-16 10:06:12 -04:00
Anthony Sottile
567cafc15a
py310+
2025-10-16 10:01:02 -04:00
Ian Stapleton Cordasco
d45bdc05ce
Merge pull request #1998 from PyCQA/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2025-09-22 17:26:41 -05:00
pre-commit-ci[bot]
e9f1cf3f48
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v1.18.1 → v1.18.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.18.1...v1.18.2 )
2025-09-22 22:17:05 +00:00
Ian Stapleton Cordasco
ed8ac7bdc2
Merge pull request #1997 from PyCQA/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2025-09-15 17:14:07 -05:00
pre-commit-ci[bot]
4b13c2cc19
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v1.17.1 → v1.18.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.17.1...v1.18.1 )
2025-09-15 21:47:50 +00:00
Ian Stapleton Cordasco
2b3d18f0e9
Merge pull request #1992 from PyCQA/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2025-08-11 21:07:21 -05:00
pre-commit-ci[bot]
3a2eff0868
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0 )
2025-08-11 22:22:04 +00:00
Anthony Sottile
fa4493de4b
Merge pull request #1991 from PyCQA/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2025-08-04 18:07:56 -04:00
pre-commit-ci[bot]
0f1af50108
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v1.17.0 → v1.17.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.17.0...v1.17.1 )
2025-08-04 21:56:25 +00:00
Anthony Sottile
8fdc755d6b
Merge pull request #1990 from mxr/patch-1
...
Update hooks and use `autopep8` + `add-trailing-comma` instead of `black`
2025-07-24 11:23:43 +02:00
Max R
5fab0d1887
Update hooks and use autopep8 + add-trailing-comma instead of black
2025-07-20 19:13:24 -04:00
Anthony Sottile
23d2a8517e
Merge pull request #1987 from PyCQA/dogfood
...
adjust global variable definition for new pyflakes
2025-06-20 15:43:22 -04:00
anthony sottile
628aece714
adjust global variable definition for new pyflakes
...
the original code was only passing pyflakes by accident due to __future__.annotations
2025-06-20 15:40:43 -04:00
anthony sottile
c48217e1fc
Release 7.3.0
2025-06-20 15:30:26 -04:00
Anthony Sottile
f9e0f33281
Merge pull request #1986 from PyCQA/document-f542
...
document F542
2025-06-20 15:23:36 -04:00
anthony sottile
6bcdb62859
document F542
2025-06-20 15:21:27 -04:00
Anthony Sottile
70a15b8890
Merge pull request #1985 from PyCQA/upgrade-deps
...
upgrade pyflakes / pycodestyle
2025-06-20 15:20:10 -04:00
anthony sottile
4941a3e32e
upgrade pyflakes / pycodestyle
2025-06-20 15:15:53 -04:00
Anthony Sottile
23e4005c55
Merge pull request #1983 from PyCQA/py314
...
add support for t-strings
2025-05-23 18:45:49 -04:00
anthony sottile
019424b80d
add support for t-strings
2025-05-23 16:25:06 -04:00
Anthony Sottile
6b6f3d5fef
Merge pull request #1980 from PyCQA/asottile-patch-1
...
add rtd sphinx config
2025-04-11 17:42:13 -04:00
Anthony Sottile
8dfa6695b4
add rtd sphinx config
2025-04-11 17:39:39 -04:00
Anthony Sottile
ce34111183
Merge pull request #1976 from PyCQA/document-f824
...
document F824
2025-03-31 10:08:31 -04:00
Anthony Sottile
3613896bd9
document F824
2025-03-31 10:05:31 -04:00
Anthony Sottile
16f5f28a38
Release 7.2.0
2025-03-29 16:17:35 -04:00
Anthony Sottile
ebad305769
Merge pull request #1974 from PyCQA/update-plugins
...
update versions of pycodestyle / pyflakes
2025-03-29 15:46:35 -04:00
Anthony Sottile
d56d569ce4
update versions of pycodestyle / pyflakes
2025-03-29 15:53:41 -04:00
Anthony Sottile
a7e8f6250c
Merge pull request #1973 from PyCQA/py39-plus
...
py39+
2025-03-29 15:38:33 -04:00
Anthony Sottile
9d55ccdb72
py39+
2025-03-29 15:42:19 -04:00
Anthony Sottile
e492aeb385
Merge pull request #1967 from PyCQA/unnecessary-mocks
...
remove a few unnecessary mocks in test_checker_manager
2025-02-16 15:15:09 -05:00
Anthony Sottile
fa2ed7145c
remove a few unnecessary mocks in test_checker_manager
...
noticed while implementing the --jobs limiter
2025-02-16 15:21:48 -05:00
Anthony Sottile
fffee8ba9d
Release 7.1.2
2025-02-16 13:48:15 -05:00
Anthony Sottile
19001f77f3
Merge pull request #1966 from PyCQA/limit-procs-to-file-count
...
avoid starting unnecessary processes when file count is limited
2025-02-16 13:35:04 -05:00
Anthony Sottile
f35737a32d
avoid starting unnecessary processes when file count is limited
2025-02-16 13:29:05 -05:00
Anthony Sottile
cf1542cefa
Release 7.1.1
2024-08-04 16:31:56 -04:00
Anthony Sottile
939ea3d8d9
Merge pull request #1949 from stephenfin/issue-1948
...
Handle escaped braces in f-strings
2024-08-04 15:56:53 -04:00
Stephen Finucane
bdcd5c2c0a
Handle escaped braces in f-strings
...
To use a curly brace in an f-string, you must escape it. For example:
>>> k = 1
>>> f'{{{k}'
'{1'
Saving this as a script and running the 'tokenize' module highlights
something odd around the counting of tokens:
❯ python -m tokenize wow.py
0,0-0,0: ENCODING 'utf-8'
1,0-1,1: NAME 'k'
1,2-1,3: OP '='
1,4-1,5: NUMBER '1'
1,5-1,6: NEWLINE '\n'
2,0-2,2: FSTRING_START "f'"
2,2-2,3: FSTRING_MIDDLE '{' # <-- here...
2,4-2,5: OP '{' # <-- and here
2,5-2,6: NAME 'k'
2,6-2,7: OP '}'
2,7-2,8: FSTRING_END "'"
2,8-2,9: NEWLINE '\n'
3,0-3,0: ENDMARKER ''
The FSTRING_MIDDLE character we have is the escaped/post-parse single
curly brace rather than the raw double curly brace, however, while our
end index of this token accounts for the parsed form, the start index of
the next token does not (put another way, it jumps from 3 -> 4). This
triggers some existing, unrelated code that we need to bypass. Do just
that.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Closes : #1948
2024-08-04 15:54:22 -04:00
Ian Stapleton Cordasco
2a811cc4d2
Merge pull request #1946 from Viicos/patch-1
...
Fix wording of plugins documentation
2024-07-23 14:53:49 -05:00
Victorien
10314ad9e5
Fix wording of plugins documentation
2024-07-23 13:39:49 +02:00
Anthony Sottile
65a38c42a7
Release 7.1.0
2024-06-15 17:36:14 -04:00
Anthony Sottile
34c97e046a
Merge pull request #1939 from PyCQA/new-pycodestyle
...
latest pycodestyle
2024-06-15 17:32:56 -04:00
Anthony Sottile
defd315175
latest pycodestyle
2024-06-15 17:30:39 -04:00