102
102
script :
103
103
- cargo fmt --verbose --all -- --check
104
104
# For the UI tests we need to disable the license check
105
- - cargo fmt --verbose --all -- --check --config=license_template_path="" ./crates/lang/tests/ui/contract/{pass,fail}/*.rs
106
- - cargo fmt --verbose --all -- --check --config=license_template_path="" ./crates/lang/tests/ui/trait_def/{pass,fail}/*.rs
105
+ - cargo fmt --verbose --all -- --check ./crates/lang/tests/ui/contract/{pass,fail}/*.rs
106
+ - cargo fmt --verbose --all -- --check ./crates/lang/tests/ui/trait_def/{pass,fail}/*.rs
107
107
allow_failure : true
108
108
109
109
examples-fmt :
@@ -114,15 +114,15 @@ examples-fmt:
114
114
# Note that we disable the license header check for the examples, since they are unlicensed.
115
115
- for example in examples/*/; do
116
116
if [ "$example" = "examples/upgradeable-contracts/" ]; then continue; fi;
117
- cargo fmt --verbose --manifest-path ${example}/Cargo.toml -- --check --config=license_template_path="" ;
117
+ cargo fmt --verbose --manifest-path ${example}/Cargo.toml -- --check;
118
118
done
119
119
- for contract in ${DELEGATOR_SUBCONTRACTS}; do
120
- cargo fmt --verbose --manifest-path ./examples/delegator/${contract}/Cargo.toml -- --check --config=license_template_path="" ;
120
+ cargo fmt --verbose --manifest-path ./examples/delegator/${contract}/Cargo.toml -- --check;
121
121
done
122
122
- for contract in ${UPGRADEABLE_CONTRACTS}; do
123
- cargo fmt --verbose --manifest-path ./examples/upgradeable-contracts/${contract}/Cargo.toml -- --check --config=license_template_path="" ;
123
+ cargo fmt --verbose --manifest-path ./examples/upgradeable-contracts/${contract}/Cargo.toml -- --check;
124
124
done
125
- - cargo fmt --verbose --manifest-path ./examples/upgradeable-contracts/delegate-calls/upgradeable-flipper/Cargo.toml -- --check --config=license_template_path=""
125
+ - cargo fmt --verbose --manifest-path ./examples/upgradeable-contracts/delegate-calls/upgradeable-flipper/Cargo.toml -- --check
126
126
allow_failure : true
127
127
128
128
clippy-std :
0 commit comments