mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 02:21:03 +00:00
Cleanup some files (#1166)
* Remove .cargo folders Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove rustfmt.toml Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Hide rustfmt.toml file Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Merge .gitignore files Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update commit hash after history-rewrite Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Try to hot-fix license scanner Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update .gitignore Co-authored-by: Chevdor <chevdor@users.noreply.github.com> * Undo changes to check-license Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
3f0d28c836
commit
cd10c46146
@@ -1,33 +0,0 @@
|
||||
#
|
||||
# An auto defined `clippy` feature was introduced,
|
||||
# but it was found to clash with user defined features,
|
||||
# so was renamed to `cargo-clippy`.
|
||||
#
|
||||
# If you want standard clippy run:
|
||||
# RUSTFLAGS= cargo clippy
|
||||
[target.'cfg(feature = "cargo-clippy")']
|
||||
rustflags = [
|
||||
"-Aclippy::all",
|
||||
"-Dclippy::correctness",
|
||||
"-Aclippy::if-same-then-else",
|
||||
"-Aclippy::clone-double-ref",
|
||||
"-Dclippy::complexity",
|
||||
"-Aclippy::zero-prefixed-literal", # 00_1000_000
|
||||
"-Aclippy::type_complexity", # raison d'etre
|
||||
"-Aclippy::nonminimal-bool", # maybe
|
||||
"-Aclippy::borrowed-box", # Reasonable to fix this one
|
||||
"-Aclippy::too-many-arguments", # (Turning this on would lead to)
|
||||
"-Aclippy::unnecessary_cast", # Types may change
|
||||
"-Aclippy::identity-op", # One case where we do 0 +
|
||||
"-Aclippy::useless_conversion", # Types may change
|
||||
"-Aclippy::unit_arg", # styalistic.
|
||||
"-Aclippy::option-map-unit-fn", # styalistic
|
||||
"-Aclippy::bind_instead_of_map", # styalistic
|
||||
"-Aclippy::erasing_op", # E.g. 0 * DOLLARS
|
||||
"-Aclippy::eq_op", # In tests we test equality.
|
||||
"-Aclippy::while_immutable_condition", # false positives
|
||||
"-Aclippy::needless_option_as_deref", # false positives
|
||||
"-Aclippy::derivable_impls", # false positives
|
||||
"-Aclippy::stable_sort_primitive", # prefer stable sort
|
||||
"-Aclippy::extra-unused-type-parameters", # stylistic
|
||||
]
|
||||
@@ -1,11 +0,0 @@
|
||||
**/target/
|
||||
.idea
|
||||
.vscode
|
||||
.DS_Store
|
||||
/.cargo/config
|
||||
polkadot_argument_parsing
|
||||
**/node_modules
|
||||
**/chains/
|
||||
*.iml
|
||||
.env
|
||||
**/._*
|
||||
@@ -1,28 +0,0 @@
|
||||
# Basic
|
||||
edition = "2021"
|
||||
hard_tabs = true
|
||||
max_width = 100
|
||||
use_small_heuristics = "Max"
|
||||
|
||||
# Imports
|
||||
imports_granularity = "Crate"
|
||||
reorder_imports = true
|
||||
|
||||
# Consistency
|
||||
newline_style = "Unix"
|
||||
|
||||
# Format comments
|
||||
comment_width = 100
|
||||
wrap_comments = true
|
||||
|
||||
# Misc
|
||||
chain_width = 80
|
||||
spaces_around_ranges = false
|
||||
binop_separator = "Back"
|
||||
reorder_impl_items = false
|
||||
match_arm_leading_pipes = "Preserve"
|
||||
match_arm_blocks = false
|
||||
match_block_trailing_comma = true
|
||||
trailing_comma = "Vertical"
|
||||
trailing_semicolon = false
|
||||
use_field_init_shorthand = true
|
||||
Reference in New Issue
Block a user