forked from davidhewitt/pythonize
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlints.toml
More file actions
57 lines (56 loc) · 1.63 KB
/
lints.toml
File metadata and controls
57 lines (56 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#
# For all clippy lints please visit: https://rust-lang.github.io/rust-clippy/master/
#
deny = [
'anonymous_parameters',
'clippy::all',
'clippy::dbg_macro',
'clippy::nursery',
'clippy::pedantic',
'clippy::restriction',
'future_incompatible',
'missing_copy_implementations',
'missing_docs',
'nonstandard_style',
'private_doc_tests',
'rust_2018_idioms',
'trivial_casts',
'trivial_numeric_casts',
'unsafe_code',
'unused',
'unused_import_braces',
'variant_size_differences',
]
allow = [
'unused_results',
'clippy::as_conversions',
'clippy::default_numeric_fallback',
'clippy::else_if_without_else',
'clippy::enum_glob_use',
'clippy::exhaustive_enums',
'clippy::exhaustive_structs',
'clippy::implicit_return',
'clippy::inconsistent_struct_constructor',
'clippy::indexing_slicing',
'clippy::integer_arithmetic',
'clippy::let_underscore_must_use',
'clippy::match_wildcard_for_single_variants',
'clippy::missing_docs_in_private_items',
'clippy::missing_inline_in_public_items',
'clippy::module_name_repetitions',
'clippy::must_use_candidate',
'clippy::pattern_type_mismatch',
'clippy::semicolon_if_nothing_returned',
'clippy::shadow_reuse',
'clippy::shadow_same',
'clippy::unreachable',
'clippy::use_self',
'clippy::wildcard_enum_match_arm',
'clippy::wildcard_imports',
'elided_lifetimes_in_paths',
'missing_debug_implementations',
# Remove when is stabilized
## https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_fn
'clippy::missing_const_for_fn'
]
warn = []