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 |
|
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 |
|
Adam Turner
|
3600862477
|
Fix SIM118 (use `key in dict not key in dict.keys()`)
|
2023-08-14 00:18:13 +01:00 |
|
Adam Turner
|
9bcf1d8bb3
|
Fix TCH001 (move application import into a type-checking block)
|
2023-08-14 00:18:13 +01:00 |
|
Adam Turner
|
36012b7d96
|
Fix TCH002 (move third-party import into a type-checking block)
|
2023-08-13 22:50:03 +01:00 |
|
Adam Turner
|
1fae1470a4
|
Fix SLOT002 (subclasses of collections.namedtuple() should define `__slots__`)
|
2023-08-13 22:32:46 +01:00 |
|
Adam Turner
|
e73300b829
|
Fix SLOT000 (subclasses of str should define `__slots__`)
|
2023-08-13 22:32:46 +01:00 |
|
Adam Turner
|
6f3c5b8a2c
|
Deprecate `ObjectMember.__getitem__()`
|
2023-08-13 22:32:46 +01:00 |
|
Adam Turner
|
9bf0f491f9
|
Update Ruff configuration for 0.0.284
|
2023-08-13 22:11:15 +01:00 |
|
Adam Turner
|
60f37b8b90
|
Enable EXE002 (file executable but no shebang present)
|
2023-08-13 22:11:15 +01:00 |
|
Adam Turner
|
d80eab689d
|
Fix EM10{1,2} (exception must not use a string)
|
2023-08-13 22:11:15 +01:00 |
|
Adam Turner
|
b533ef1662
|
Fix DTZ00{0-4} (Do not use naive datetime objects)
|
2023-08-13 22:11:15 +01:00 |
|
Adam Turner
|
e010e24728
|
Fix B904 (raise exceptions with `raise ... from ...`)
|
2023-08-13 22:11:15 +01:00 |
|
Adam Turner
|
db6d5aee2c
|
Enable B028 (no explicit stacklevel keyword argument found)
|
2023-08-13 22:11:15 +01:00 |
|
Adam Turner
|
5511c45f2d
|
Enable B026 (keyword argument must come after starred arguments)
|
2023-08-13 22:11:15 +01:00 |
|
Adam Turner
|
bbfd3cd248
|
Fix B023 (function definition does not bind loop variable)
|
2023-08-13 22:11:15 +01:00 |
|
Adam Turner
|
1dcc112608
|
Fix B006 (Do not use mutable data structures for argument defaults)
|
2023-08-13 22:11:15 +01:00 |
|