Ran Benita
|
3b02da9d7b
|
Fix false positive DTZ001 on `datetime(2000, 1, 1, 0, 0, 0, 0, utc)` (#1308)
|
2022-12-21 19:03:36 -05:00 |
Charlie Marsh
|
de767cc026
|
Avoid used-prior-global-declaration false-positives in f-strings (#1314)
|
2022-12-21 14:34:09 -05:00 |
Charlie Marsh
|
f40e4bcd14
|
Avoid flagging RUF100 as a RUF100 violation (#1305)
|
2022-12-20 17:40:10 -05:00 |
Charlie Marsh
|
e7d40d435f
|
Avoid F821 false positives for Mypy extensions (#1304)
|
2022-12-20 16:29:33 -05:00 |
Charlie Marsh
|
226f682c99
|
Avoid DTZ007 false-positives for non-string arguments (#1300)
|
2022-12-20 13:20:53 -05:00 |
Charlie Marsh
|
8934f6938d
|
Avoid RET504 errors for intermediary function calls (#1294)
|
2022-12-19 19:48:09 -05:00 |
Charlie Marsh
|
4da2264722
|
Avoid `T201` errors for `print(..., file=fp)`-like calls (#1287)
|
2022-12-19 00:10:07 -05:00 |
Charlie Marsh
|
bf88c815aa
|
Move flake8-debugger tests into flake8-debugger subdirectory (#1286)
|
2022-12-18 22:06:42 -05:00 |
Yasu_umi
|
8a4831dd5b
|
Implement flake8-datetimez (#1270)
|
2022-12-18 22:06:06 -05:00 |
Charlie Marsh
|
1fc09ebd5c
|
Fix inverted E501 condition (#1285)
|
2022-12-18 20:08:30 -05:00 |
Reiner Gerecke
|
87465daacc
|
pygrep-hooks - deprecated use of logging.warn & no blanket type ignore (#1275)
|
2022-12-18 18:04:21 -05:00 |
Charlie Marsh
|
ecf0dd05d6
|
Auto-detect same-package imports (#1266)
|
2022-12-16 21:19:11 -05:00 |
Charlie Marsh
|
634553f188
|
Add ignore-variadic-names options to flake8-unused-arguments (#1261)
|
2022-12-16 00:22:38 -05:00 |
Edgar R. M
|
4ff0b75045
|
test: Fix `flake8-errmsg` snapshots (#1260)
|
2022-12-15 23:53:15 -05:00 |
Charlie Marsh
|
b4bfa87104
|
Avoid removing partially-unused imports (#1259)
|
2022-12-15 23:13:58 -05:00 |
Edgar R. M
|
8281d414ca
|
Implement `flake8-errmsg` (#1258)
|
2022-12-15 23:10:59 -05:00 |
Charlie Marsh
|
7e45a9f2e2
|
Avoid generating invalid statements when deleting from multi-statement lines (#1253)
|
2022-12-15 22:17:31 -05:00 |
Martin Lehoux
|
d8b4b92733
|
Implement U016: Remove six compatibility code (#1013)
|
2022-12-15 14:16:58 -05:00 |
Charlie Marsh
|
d805067683
|
Avoid fixing E711 and E712 issues that would cause F632 (#1248)
|
2022-12-15 12:08:31 -05:00 |
Charlie Marsh
|
d067efe265
|
Treat `extend-*` configuration options as "always extended" (#1245)
|
2022-12-14 20:22:40 -05:00 |
Charlie Marsh
|
549ea2f85f
|
Ignore any `pyproject.toml` without a `[tool.ruff]` section (#1243)
|
2022-12-14 19:35:52 -05:00 |
Charlie Marsh
|
76891a8c07
|
Always check zero-depth CLI paths (#1241)
|
2022-12-14 16:32:02 -05:00 |
Charlie Marsh
|
4b2020d03a
|
Automatically ignore files specified in `.gitignore` (#1234)
|
2022-12-14 15:58:40 -05:00 |
Charlie Marsh
|
0aa356c96c
|
Avoid converting expression to statement in invald contexts (#1239)
|
2022-12-14 13:57:25 -05:00 |
Charlie Marsh
|
a58b9b5063
|
Upgrade RustPython to support parenthesized context managers (#1228)
|
2022-12-13 10:16:43 -05:00 |
Charlie Marsh
|
92bc417e4e
|
Add support for glob patterns in `src` (#1225)
|
2022-12-12 21:35:03 -05:00 |
Charlie Marsh
|
9853b0728b
|
Enable configuration files to "extend" other configuration files (#1219)
|
2022-12-12 20:28:22 -05:00 |
Charlie Marsh
|
c05914f222
|
Avoid inserting extra newlines for comment-delimited import blocks (#1201)
|
2022-12-11 17:13:09 -05:00 |
Reiner Gerecke
|
7f25d1ec70
|
Implement SIM118 (key in dict) of flake8-simplify (#1195)
|
2022-12-11 10:05:11 -05:00 |
Charlie Marsh
|
360b033e04
|
Avoid F821 false positive on annotated global (#1196)
|
2022-12-11 10:04:06 -05:00 |
Harutaka Kawamura
|
efdc4e801d
|
Upgrade RustPython to fix end location of implicitly concatenated strings (#1187)
|
2022-12-10 19:16:01 -05:00 |
Reiner Gerecke
|
06ed125771
|
Add autofix for F504 and F522 (#1184)
|
2022-12-10 16:33:09 -05:00 |
Charlie Marsh
|
add96d3dc5
|
Implement E0117 (nonlocal-without-binding) (#1180)
|
2022-12-10 11:41:57 -05:00 |
Charlie Marsh
|
6f8e0224d0
|
Implement W0602 (global-variable-not-assigned) (#1179)
|
2022-12-10 11:33:24 -05:00 |
Charlie Marsh
|
b8bbafd85b
|
Flag global usages prior to `global` declarations (#1178)
|
2022-12-10 11:19:24 -05:00 |
Charlie Marsh
|
0dacf61153
|
Implement F842 (UnusedAnnotation) (#1165)
|
2022-12-09 12:42:03 -05:00 |
Charlie Marsh
|
a6251360b7
|
Avoid RET false-positives for usages in f-strings (#1163)
|
2022-12-09 12:28:09 -05:00 |
Charlie Marsh
|
a0a6327fae
|
Only allowlist noqa et al at the start of a comment (#1157)
|
2022-12-08 23:10:36 -05:00 |
Charlie Marsh
|
aaeab0ecf1
|
Implement F811 (`RedefinedWhileUnused`) (#1137)
|
2022-12-08 21:31:08 -05:00 |
Charlie Marsh
|
c1b1ac069e
|
Include else block in break detection (#1143)
|
2022-12-08 11:53:31 -05:00 |
Charlie Marsh
|
49df43bb78
|
Use single newlines in .pyi import sorting (#1142)
|
2022-12-08 11:34:41 -05:00 |
Charlie Marsh
|
528416f07a
|
Rename I252 to TID252; add redirects for all renamed codes (#1129)
|
2022-12-07 15:12:22 -05:00 |
Charlie Marsh
|
bb67fbb73a
|
Implement unused argument detection (`ARG`) (#1126)
Detect unused arguments
|
2022-12-07 12:15:41 -05:00 |
Charlie Marsh
|
9579faffa8
|
Avoid flagging bare exception issues when exception is re-raised (#1124)
|
2022-12-07 10:37:08 -05:00 |
Charlie Marsh
|
7abecd4f0e
|
Implement B905 (#1122)
|
2022-12-07 10:01:24 -05:00 |
Edgar R. M
|
ea550abd3c
|
Implement `flake8-import-conventions` (#1098)
|
2022-12-06 16:01:17 -05:00 |
Charlie Marsh
|
5c26777e4c
|
Avoid flagging ANN errors in @overload implementations (#1110)
|
2022-12-06 12:46:38 -05:00 |
Charlie Marsh
|
44025f1c92
|
Improve F841's Flake8 parity for unpacking assignments (#1103)
|
2022-12-05 23:34:40 -05:00 |
Charlie Marsh
|
541440f7a8
|
Re-support F841 detection for single context managers (#1099)
|
2022-12-05 22:09:45 -05:00 |
Charlie Marsh
|
38ad10f60d
|
Treat nested classes and functions as "standard" siblings (#1095)
|
2022-12-05 20:45:12 -05:00 |