Charlie Marsh
|
29ba2bb943
|
Add required space when fixing C404 (#7185)
|
2023-09-06 13:05:39 +01:00 |
Charlie Marsh
|
f0ea40a68d
|
Restructure signatures of `flake8_comprehensions` fixers (#7186)
|
2023-09-06 12:04:50 +00:00 |
Charlie Marsh
|
a3a531e0d4
|
Add alpha instructions to the `ruff_python_formatter` README (#7064)
|
2023-09-06 11:55:16 +00:00 |
Tom Kuson
|
b3e8eca871
|
Rename `PLR1714` to `repeated-equality-comparison` (#7182)
|
2023-09-06 12:46:48 +01:00 |
konsti
|
447b7cb0e2
|
Formatter: Show preceding, following and enclosing nodes of comments, Attempt 2 (#6813)
|
2023-09-06 12:26:13 +02:00 |
konsti
|
e3114a144c
|
Ignore single quote docstrings with newline escape (#7173)
|
2023-09-06 10:51:50 +02:00 |
Manuel Martinez
|
2e58ad437e
|
build: add libcst from crates (#7179)
Co-authored-by: Micha Reiser <micha@reiser.io>
|
2023-09-06 08:24:28 +00:00 |
Dhruv Manilawala
|
04f2842e4f
|
Move `ExprConstant::kind` to `StringConstant::unicode` (#7180)
|
2023-09-06 07:39:25 +00:00 |
Micha Reiser
|
31990b8d3f
|
Checker: Remove unnecessary unreachable (#7181)
|
2023-09-06 07:21:03 +00:00 |
Micha Reiser
|
5f59101811
|
Memoize text width (#6552)
|
2023-09-06 07:10:13 +00:00 |
Dhruv Manilawala
|
fa6bff0078
|
Add inline documentation for `Ipy*` AST nodes (#7178)
|
2023-09-06 12:07:34 +05:30 |
Dhruv Manilawala
|
ea7c394817
|
Copy the starred argument as is for `PLW3301` autofix (#7177)
|
2023-09-06 08:57:05 +05:30 |
Charlie Marsh
|
264d9159f8
|
Add required space when fixing UP024 (#7171)
|
2023-09-05 17:37:09 +00:00 |
Charlie Marsh
|
37dfb205b1
|
Remove autofix for ambiguous unicode rules (#7168)
|
2023-09-05 17:22:18 +00:00 |
Charlie Marsh
|
f8e4e1d562
|
Fix named expression precedence in generator (#7170)
|
2023-09-05 17:06:57 +00:00 |
Charlie Marsh
|
89be850b73
|
Add required space when fixing SIM300 (#7167)
|
2023-09-05 17:00:07 +00:00 |
Zanie Blue
|
d68041ba24
|
Fix B006 when function docstring is followed by whitespace but no newline (#7160)
|
2023-09-05 11:10:57 -05:00 |
Charlie Marsh
|
b60b37e866
|
Split within `not`, rather than outside of `not`, for PT018 (#7151)
|
2023-09-05 14:50:16 +00:00 |
konsti
|
5a95edab45
|
Use ruff line-length in format_dev (#6870)
|
2023-09-05 16:19:17 +02:00 |
Dhruv Manilawala
|
1adde24133
|
Rename parser mode from `Jupyter` to `Ipython` (#7153)
|
2023-09-05 14:12:26 +00:00 |
konsti
|
e02d76f070
|
Use insta_cmd (#6737)
|
2023-09-05 12:21:27 +00:00 |
Charlie Marsh
|
7ead2c17b1
|
Add required space when fixing C402 (#7152)
|
2023-09-05 12:19:33 +00:00 |
Charlie Marsh
|
e428099e4c
|
Add required space when fixing SIM118 (#7150)
|
2023-09-05 11:51:34 +00:00 |
Charlie Marsh
|
7a83fd9926
|
Insert required space when fixing B013 (#7148)
|
2023-09-05 12:49:11 +01:00 |
Charlie Marsh
|
e8f78fa2cf
|
Avoid fixing UP022 when `capture_output` is provided (#7149)
|
2023-09-05 11:44:17 +00:00 |
Charlie Marsh
|
955501f267
|
Use generator for UP007 autofix (#7137)
|
2023-09-05 11:41:53 +00:00 |
Micha Reiser
|
175b3702c3
|
Reduce `comments.clone` calls (#7144)
|
2023-09-05 11:32:56 +02:00 |
Nicholas Grisafi
|
40ee4909b5
|
Added argfile test and documentation (#7138)
Co-authored-by: konsti <konstin@mailbox.org>
|
2023-09-05 11:13:58 +02:00 |
Charlie Marsh
|
10a8e4a225
|
Remove output-file and target-version from formatter CLI (#7135)
|
2023-09-05 09:04:18 +00:00 |
konsti
|
0465b03282
|
Better formatter CLI verbose output (#7129)
|
2023-09-05 00:25:16 +02:00 |
Dhruv Manilawala
|
154fe7bdcc
|
Add lexer benchmark (#7132)
|
2023-09-04 13:18:36 +00:00 |
Charlie Marsh
|
ece30e7c69
|
Preserve parentheses around partial call chains (#7109)
|
2023-09-04 10:57:04 +01:00 |
Charlie Marsh
|
7be28a38c5
|
Cache comment lookups in `suite.rs` (#7092)
|
2023-09-04 08:45:14 +00:00 |
Charlie Marsh
|
5ec73a6137
|
Avoid triggering N806 on `TypeAlias` assignments (#7119)
|
2023-09-04 08:44:28 +00:00 |
Dhruv Manilawala
|
1067261a55
|
Make `SourceKind` a required parameter (#7013)
|
2023-09-04 07:45:59 +00:00 |
Micha Reiser
|
93ca8ebbc0
|
Formatter: Detect line endings (#7054)
|
2023-09-04 08:09:31 +02:00 |
Charlie Marsh
|
834566f34f
|
Retain parentheses when fixing `SIM210` (#7118)
|
2023-09-03 22:39:23 +00:00 |
Charlie Marsh
|
a56121672c
|
Add parentheses when simplifying conditions in SIM222 (#7117)
|
2023-09-03 22:35:59 +00:00 |
Charlie Marsh
|
32f4a96c64
|
Fix precedence of annotated assignments in generator (#7115)
|
2023-09-03 21:41:48 +00:00 |
Charlie Marsh
|
c004e03395
|
Add space after return when inlining number for RET504 (#7116)
|
2023-09-03 21:33:41 +00:00 |
Charlie Marsh
|
b57ddd54d2
|
Support parenthesized expressions in UP028 (#7114)
|
2023-09-03 21:20:09 +00:00 |
dalgarno
|
af189db5eb
|
Deduplicate information in configuration documentation (#7108)
|
2023-09-03 22:17:35 +01:00 |
Charlie Marsh
|
c7217e34d7
|
Avoid adding duplicate `text` keyword to `subprocess.run` (#7112)
|
2023-09-03 21:17:04 +00:00 |
Charlie Marsh
|
d70247959c
|
Avoid adding duplicate `capture_output` keyword to `subprocess.run` (#7113)
|
2023-09-03 21:14:56 +00:00 |
Charlie Marsh
|
911d4f2918
|
Handle parenthesized calls in PD002 (#7111)
|
2023-09-03 21:03:55 +00:00 |
Charlie Marsh
|
d9cf31f355
|
Expand F841 fixes to handle parenthesized targets (#7110)
|
2023-09-03 21:00:44 +00:00 |
Olivia Crain
|
7da99cc756
|
Fix incorrect flake8-copyright link in faq (#7093)
|
2023-09-03 18:00:25 +00:00 |
Charlie Marsh
|
9c3b2c3c3c
|
Parenthesize expressins when converting to B009 (#7091)
|
2023-09-03 17:50:38 +01:00 |
Charlie Marsh
|
37d244d178
|
Add newline if B006 fix is at end-of-file (#7090)
|
2023-09-03 17:35:59 +01:00 |
Charlie Marsh
|
dbb34804a4
|
Change `Option<Result>` to `Result<Option>` in importer (#7089)
|
2023-09-03 16:23:42 +00:00 |