mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Allow clippy
This commit is contained in:
1 parent
0388dac94a
commit
24b3670516
1 file changed
+1
@@ -7,6 +7,7 @@
|
||||
|
||||
// for methods like vm.to_str(), not the typical use of 'to' as a method prefix
|
||||
#![allow(clippy::wrong_self_convention, clippy::implicit_hasher)]
|
||||
#![allow(clippy::suspicious_else_formatting)]
|
||||
// to allow `mod foo {}` in foo.rs; clippy thinks this is a mistake/misunderstanding of
|
||||
// how `mod` works, but we want this sometimes for pymodule declarations
|
||||
#![allow(clippy::module_inception)]
|
||||
|
||||
Reference in new issue
Block a user