Commit Graph

20340 Commits

Author SHA1 Message Date
Adam Turner
ddf8a8e7d4 Add CHANGES entry for GH-11533 2023-08-16 23:27:51 +01:00
Adam Turner
2b9ee41f27 Consolidate `sys.argv` handling 2023-08-16 23:22:14 +01:00
Adam Turner
eab54533a5 Ignore E251 (Unexpected spaces around equals) 2023-08-15 18:36:47 +01:00
Adam Turner
93340a2ae0 Enable E275 (Missing whitespace after keyword) 2023-08-15 18:35:14 +01:00
Adam Turner
dfd91bedf6 Enable E274 (Tab before keyword) 2023-08-15 18:34:54 +01:00
Adam Turner
38e487086a Enable E273 (Tab after keyword) 2023-08-15 18:34:42 +01:00
Adam Turner
030a6a149e Enable E272 (Multiple spaces before keyword) 2023-08-15 18:30:58 +01:00
Adam Turner
6df0278ee8 Enable E271 (Multiple spaces after keyword) 2023-08-15 18:29:53 +01:00
Adam Turner
f7237158ec Enable E266 (Too many leading `#` before block comment) 2023-08-15 18:28:38 +01:00
Adam Turner
b5a6f6b2b0 Enable E265 (Block comment should start with `# `) 2023-08-15 18:27:54 +01:00
Adam Turner
f3c823e5d0 Enable E262 (Inline comment should start with `# `) 2023-08-15 18:27:28 +01:00
Adam Turner
bda65af8ac Enable E261 (Insert at least two spaces before an inline comment) 2023-08-15 18:26:58 +01:00
Adam Turner
2d880babc8 Enable E252 (Missing whitespace around parameter equals) 2023-08-15 18:26:38 +01:00
Adam Turner
0f8c941597 Enable E242 (Tab after comma) 2023-08-15 18:17:05 +01:00
Adam Turner
e3f0342932 Enable E241 (Multiple spaces after comma) 2023-08-15 18:16:27 +01:00
Adam Turner
f1ee0b2951 Enable E231 (Missing whitespace after '{token}') 2023-08-15 18:10:25 +01:00
Adam Turner
93cf83e6bf Enable E228 (Missing whitespace around modulo operator) 2023-08-15 18:10:01 +01:00
Adam Turner
038f9b85f6 Enable E227 (Missing whitespace around bitwise or shift operator) 2023-08-15 18:09:18 +01:00
Adam Turner
cbdc2d85ae Enable E226 (Missing whitespace around arithmetic operator) 2023-08-15 18:08:57 +01:00
Adam Turner
49a9596e5f Enable E225 (Missing whitespace around operator) 2023-08-15 18:08:25 +01:00
Adam Turner
046baf1eda Enable E224 (Tab after operator) 2023-08-15 18:07:54 +01:00
Adam Turner
072a5dd68c Enable E223 (Tab before operator) 2023-08-15 18:07:35 +01:00
Adam Turner
5fbaee0d67 Enable E222 (Multiple spaces after operator) 2023-08-15 18:07:16 +01:00
Adam Turner
ce3d4937e7 Enable E221 (Multiple spaces before operator) 2023-08-15 18:06:32 +01:00
Adam Turner
4cdb73926e Enable E211 (Whitespace before '{bracket}') 2023-08-15 18:05:56 +01:00
Adam Turner
000ba5fae5 Enable E203 (Whitespace before '{punctuation}') 2023-08-15 18:04:09 +01:00
Adam Turner
3942691601 Enable E202 (Whitespace before '{symbol}') 2023-08-15 18:03:13 +01:00
Adam Turner
2583953d11 Enable E201 (Whitespace after '{symbol}') 2023-08-15 18:01:34 +01:00
Adam Turner
175d970ca2 Enable E117 (Over-indented (comment)) 2023-08-15 18:01:01 +01:00
Adam Turner
85e32e3b73 Enable E116 (Unexpected indentation (comment)) 2023-08-15 18:00:30 +01:00
Adam Turner
f0fa8a66f9 Enable E115 (Expected an indented block (comment)) 2023-08-15 17:53:39 +01:00
Adam Turner
ecd01d676e Enable E114 (Indentation is not a multiple of {indent_size} (comment)) 2023-08-15 17:53:01 +01:00
Adam Turner
76b9fc448e Enable E113 (Unexpected indentation) 2023-08-15 17:52:19 +01:00
Adam Turner
fca8296bac Enable E112 (Expected an indented block) 2023-08-15 17:51:48 +01:00
Adam Turner
db82374d3a Enable E111 (Indentation is not a multiple of {indent_size}) 2023-08-15 17:51:27 +01:00
Adam Turner
50d84333e4 Remove W291 and W293 from external list in Ruff configuration 2023-08-15 17:14:04 +01:00
Adam Turner
52d8e03d85 Remove SIM110 from external list in Ruff configuration 2023-08-15 17:13:04 +01:00
Adam Turner
671f348a27 fixup! Remove calls to `builtins.print()` 2023-08-15 17:11:08 +01:00
Adam Turner
ffb14f59bc Remove calls to `builtins.print()` 2023-08-15 16:58:57 +01:00
Stephen Finucane
53a930f8c7
Fix C coverage support in `sphinx.ext.coverage` (#11591) 2023-08-15 14:50:15 +01:00
Stephen Finucane
1e0bc26426
Remove errant print in `sphinx.ext.coverage` (#11593) 2023-08-15 14:26:17 +01:00
Bénédikt Tran
19018f01b6
Improve SigElementFallbackTransform fallback logic. (#11311)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-08-15 14:25:25 +01:00
Matthias Geier
65fd5be20d
Use the 'toctree-wrapper' class for the `sphinx13` theme (#11129) 2023-08-14 23:40:42 +01:00
picnixz
2656f34848
Fix rendering of `Literal` annotations with enum values (#11517)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-08-14 23:33:57 +01:00
Riccardo Mori
137b3adce1
Make stringify_annotation recursive on builtins with args (#11570)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-08-14 19:28:12 +01:00
Halldor Fannar
0bad447070
Emit "source-read" events for files read via the `include` directive (#11510)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Co-authored-by: picnixz <10796600+picnixz@users.noreply.github.com>
2023-08-14 16:02:04 +01:00
Adam Turner
6cb783c002 Enable SIM105 (use contextlib.suppress) 2023-08-14 00:18:14 +01:00
Adam Turner
3a5e1f11ab Enable SIM114 (combine if branches using logical or operator) 2023-08-14 00:18:14 +01:00
Adam Turner
f844055dda Fix SIM115 (use context handler for opening files) 2023-08-14 00:18:14 +01:00
Adam Turner
08dbaa793e Fix SIM117 (use single 'with' statement) 2023-08-14 00:18:13 +01:00