Anders Kaseorg
|
9cf4621071
|
Fix clippy::redundant_else (pedantic)
https://rust-lang.github.io/rust-clippy/master/index.html#redundant_else
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
bbc9ed1b21
|
Fix clippy::redundant_closure_for_method_calls (pedantic)
https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_for_method_calls
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
517ca2604a
|
Fix clippy::needless_pass_by_value (pedantic)
“this argument is passed by value, but not consumed in the function
body”
https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
348ff509c0
|
Fix clippy::mut_mut (pedantic)
“this expression mutably borrows a mutable reference. Consider
reborrowing”
https://rust-lang.github.io/rust-clippy/master/index.html#mut_mut
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
fb545551f8
|
Fix clippy::match_bool (pedantic)
https://rust-lang.github.io/rust-clippy/master/index.html#match_bool
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
3b33a431d6
|
Fix clippy::map_unwrap_or (pedantic)
https://rust-lang.github.io/rust-clippy/master/index.html#map_unwrap_or
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
bc95690725
|
Fix clippy::manual_string_new (pedantic)
https://rust-lang.github.io/rust-clippy/master/index.html#manual_string_new
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
9dc788d089
|
Fix clippy::let_underscore_drop (pedantic)
https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_drop
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
15f63494a7
|
Fix clippy::items_after_statements (pedantic)
“adding items after statements is confusing, since items exist from
the start of the scope”
https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
68668c20e8
|
Fix clippy::if_not_else (pedantic)
https://rust-lang.github.io/rust-clippy/master/index.html#if_not_else
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
9462335371
|
Fix clippy::from_iter_instead_of_collect (pedantic)
https://rust-lang.github.io/rust-clippy/master/index.html#from_iter_instead_of_collect
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
3dd6522b4f
|
Fix clippy::explicit_iter_loop (pedantic)
“it is more concise to loop over references to containers instead of
using explicit iteration methods”
https://rust-lang.github.io/rust-clippy/master/index.html#explicit_iter_loop
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
6b935121a7
|
Fix clippy::explicit_deref_methods (pedantic)
https://rust-lang.github.io/rust-clippy/master/index.html#explicit_deref_methods
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
8d9d9b3204
|
Fix clippy::documentation_markdown (pedantic)
https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
0a506eff34
|
Fix clippy::cloned_instead_of_copied (pedantic)
“used `cloned` where `copied` could be used instead”
https://rust-lang.github.io/rust-clippy/master/index.html#cloned_instead_of_copied
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
7c7489c1dd
|
Ignore clippy::cast_possible_truncation (pedantic)
“casting `usize` to `u8` may truncate the value”
https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
ae90eccb7f
|
Fix clippy::cast_lossless (pedantic)
“casting `bool` to `u8` is more cleanly stated with `u8::from(_)`”
https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
7a61edbe46
|
Fix clippy::default-trait-access (pedantic) (#867)
|
2022-11-21 21:00:38 -05:00 |
|
Charlie Marsh
|
59615486d8
|
Bump version to 0.0.134
|
2022-11-21 16:15:23 -05:00 |
|
Andri Bergsson
|
ce116a80ad
|
Automatically remove redundant open modes #640 (#843)
|
2022-11-21 16:06:41 -05:00 |
|
Anders Kaseorg
|
731fba9006
|
Ignore clippy::unreadable-literal (pedantic) for CONFUSABLES (#864)
|
2022-11-21 16:00:05 -05:00 |
|
Anders Kaseorg
|
9bcf194fdc
|
Ignore clippy::match-same-arms (pedantic) in a few places (#863)
|
2022-11-21 15:59:58 -05:00 |
|
Anders Kaseorg
|
58949b564e
|
Fix clippy::trivially-copy-pass-by-ref (pedantic) (#862)
|
2022-11-21 15:59:51 -05:00 |
|
Anders Kaseorg
|
6b9e57fb78
|
Fix clippy::sort-unstable (pedantic) (#861)
|
2022-11-21 15:59:41 -05:00 |
|
Anders Kaseorg
|
cb119401a7
|
Fix clippy::inefficient-to-string (pedantic) (#860)
|
2022-11-21 15:59:35 -05:00 |
|
Charlie Marsh
|
0b9188011b
|
Bump version to 0.0.133
|
2022-11-21 13:39:37 -05:00 |
|
Anders Kaseorg
|
b657d912d9
|
Propagate errors from glob::Pattern::new (#858)
|
2022-11-21 13:39:19 -05:00 |
|
Charlie Marsh
|
1559671093
|
Target isort code in README.md
|
2022-11-21 13:38:01 -05:00 |
|
Charlie Marsh
|
70a53bf12b
|
Add unit tests for complexity check (#859)
|
2022-11-21 13:31:17 -05:00 |
|
Charlie Marsh
|
cd1e07f37c
|
Avoid incrementing McCabe complexity for class methods (#857)
|
2022-11-21 13:30:36 -05:00 |
|
Charlie Marsh
|
7bd6db62d9
|
Sort relative imports by parent level descending (#856)
|
2022-11-21 13:30:24 -05:00 |
|
Charlie Marsh
|
f8b49f308d
|
Upgrade RustPython (#855)
|
2022-11-21 13:20:03 -05:00 |
|
Charlie Marsh
|
b1f9c7b6bd
|
Update default complexity in README.md
|
2022-11-21 13:19:55 -05:00 |
|
Keming
|
0867d2ded9
|
Make it visible under light theme (#854)
|
2022-11-21 10:18:21 -05:00 |
|
messense
|
3f597a3b30
|
Upgrade maturin to 0.14 (#846)
|
2022-11-21 10:00:14 -05:00 |
|
Charlie Marsh
|
6733aad216
|
Avoid attempting to fix PEP 604 violations with deferred annotations (#845)
|
2022-11-20 21:41:54 -05:00 |
|
Harutaka Kawamura
|
89980ad651
|
Implement autofix for B013 (#824)
|
2022-11-20 18:49:07 -05:00 |
|
Charlie Marsh
|
38f896502a
|
Bump version to 0.0.132
|
2022-11-20 18:10:13 -05:00 |
|
Jonathan Plasse
|
7cab541343
|
Add convert exit() to sys.exit() rule (#816)
|
2022-11-20 18:09:40 -05:00 |
|
Charlie Marsh
|
1a3d2ead41
|
Support PEP 562 (#841)
|
2022-11-20 17:55:57 -05:00 |
|
Jonathan Plasse
|
f96c64b40d
|
Fix N804 class method with positional only args (#836)
|
2022-11-20 15:48:09 -05:00 |
|
Charlie Marsh
|
0791869451
|
Add RUF to list of fixable defaults (#838)
|
2022-11-20 15:40:14 -05:00 |
|
Charlie Marsh
|
965918744b
|
Replace FNV with rustc-hash (#837)
|
2022-11-20 15:38:31 -05:00 |
|
Charlie Marsh
|
6b4aedb366
|
Bump version to 0.0.131
|
2022-11-20 13:40:58 -05:00 |
|
Charlie Marsh
|
8123e3e94e
|
Remove extraneous Python file
|
2022-11-20 13:39:55 -05:00 |
|
Charlie Marsh
|
9f9a545c51
|
Improve cache performance by removing cacache dependency (#833)
|
2022-11-20 13:36:33 -05:00 |
|
Charlie Marsh
|
5bf8219db3
|
Make main.rs robust to cache initialization failures (#831)
|
2022-11-20 11:05:17 -05:00 |
|
Charlie Marsh
|
529513bf02
|
Add CACHEDIR.TAG to .ruff_cache (#830)
|
2022-11-20 10:53:31 -05:00 |
|
Charlie Marsh
|
124782771f
|
Bump version to 0.0.130
|
2022-11-20 10:37:19 -05:00 |
|
Charlie Marsh
|
98cab5cdba
|
Add class names to NamedTuple and TypedDict rules (#829)
|
2022-11-20 10:29:47 -05:00 |
|