Skip to content

Commit

Permalink
fix: fix tests and clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed Aug 2, 2024
1 parent acf1b7f commit b278787
Show file tree
Hide file tree
Showing 24 changed files with 443 additions and 435 deletions.
2 changes: 1 addition & 1 deletion crates/benches/src/deployer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async fn deploy_contract(runner: &KatanaRunner, manifest_and_script: (&str, &str

let out = Command::new("bash")
.arg(manifest_and_script.1)
.env("RPC_URL", &runner.endpoint())
.env("RPC_URL", runner.endpoint())
.output()
.await
.context("failed to start script subprocess")?;
Expand Down
2 changes: 1 addition & 1 deletion crates/common/src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub enum SocketAddressParsingError {
/// The following formats are checked:
///
/// - If the value can be parsed as a `u16` or starts with `:` it is considered a port, and the
/// hostname is set to `localhost`.
/// hostname is set to `localhost`.
/// - If the value contains `:` it is assumed to be the format `<host>:<port>`
/// - Otherwise it is assumed to be a hostname
///
Expand Down
2 changes: 1 addition & 1 deletion crates/dojo-lang/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ fn get_contract_namespace(
///
/// Returns:
/// * A [`ContractParameters`] object containing all the dojo::contract parameters with their
/// default values if not set in the code.
/// default values if not set in the code.
fn get_parameters(
db: &dyn SyntaxGroup,
module_ast: &ast::ItemModule,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies = [

[[package]]
name = "dojo"
version = "0.7.3"
version = "1.0.0-alpha.4"
dependencies = [
"dojo_plugin",
]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
kind = "Class"
class_hash = "0x2178527e9556d1aa21d3c2961d28f9114fcfed81b4c3674ed591c50ce46cc9d"
original_class_hash = "0x2178527e9556d1aa21d3c2961d28f9114fcfed81b4c3674ed591c50ce46cc9d"
class_hash = "0x14287624e97e0312d4e680e19071efce983810e909b32afc54cd9c8031f4c1c"
original_class_hash = "0x14287624e97e0312d4e680e19071efce983810e909b32afc54cd9c8031f4c1c"
abi = "manifests/dev/base/abis/dojo-world.json"
tag = "dojo-world"
manifest_name = "dojo-world"
5 changes: 3 additions & 2 deletions crates/dojo-lang/src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ fn get_model_namespace(
/// * diagnostics: vector of compiler diagnostics.
///
/// Returns:
/// * A [`ModelParameters`] object containing all the dojo::model parameters with their
/// default values if not set in the code.
/// * A [`ModelParameters`] object containing all the dojo::model parameters with their default
/// values if not set in the code.
fn get_model_parameters(
db: &dyn SyntaxGroup,
struct_ast: ItemStruct,
Expand Down Expand Up @@ -198,6 +198,7 @@ fn get_model_parameters(
/// Parameters:
/// * db: The semantic database.
/// * struct_ast: The AST of the model struct.
///
/// Returns:
/// * A RewriteNode containing the generated code.
pub fn handle_model_struct(
Expand Down
762 changes: 384 additions & 378 deletions crates/dojo-lang/src/plugin_test_data/system

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions crates/dojo-lang/src/print.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use cairo_lang_utils::unordered_hash_map::UnorderedHashMap;
/// Parameters:
/// * db: The semantic database.
/// * struct_ast: The AST of the model struct.
///
/// Returns:
/// * A RewriteNode containing the generated code.
pub fn handle_print_struct(db: &dyn SyntaxGroup, struct_ast: ItemStruct) -> RewriteNode {
Expand Down Expand Up @@ -47,6 +48,7 @@ impl $type_name$StructPrintImpl of core::debug::PrintTrait<$type_name$> {
/// Parameters:
/// * db: The semantic database.
/// * enum_ast: The AST of the model enum.
///
/// Returns:
/// * A RewriteNode containing the generated code.
pub fn handle_print_enum(db: &dyn SyntaxGroup, enum_ast: ItemEnum) -> RewriteNode {
Expand Down
6 changes: 3 additions & 3 deletions crates/dojo-world/abigen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,13 @@ fn compile_dojo_core() {
file,
r#"
[package]
cairo-version = "2.7.0-rc.3"
cairo-version = "2.7.0"
edition = "2024_07"
name = "dojo"
version = "0.7.3"
version = "1.0.0-alpha.4"
[dependencies]
starknet = "2.7.0-rc.3"
starknet = "2.7.0"
[[target.starknet-contract]]
sierra = true
Expand Down
3 changes: 1 addition & 2 deletions crates/katana/storage/db/src/abstraction/cursor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ pub trait DbDupSortCursor<T: DupSort>: DbCursor<T> {
/// - Some(key), Some(subkey): a `key` item whose data is >= than `subkey`
/// - Some(key), None: first item of a specified `key`
/// - None, Some(subkey): like first case, but in the first key
/// - None, None: first item in the table
/// of a DUPSORT table.
/// - None, None: first item in the table of a DUPSORT table.
fn walk_dup(
&mut self,
key: Option<T::Key>,
Expand Down
2 changes: 1 addition & 1 deletion crates/saya/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ impl Saya {
/// * `prove_scheduler` - A parallel prove scheduler.
/// * `block_number` - The block number.
/// * `block_info` - The block to process, along with the state roots of the previous block and
/// the genesis block.
/// the genesis block.
fn process_block(
&mut self,
prove_scheduler: &mut Scheduler,
Expand Down
2 changes: 1 addition & 1 deletion crates/sozo/ops/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ where
/// # Arguments
///
/// * `block_str` - a string representing a block ID. It could be a
/// block hash starting with 0x, a block number, 'pending' or 'latest'.
/// block hash starting with 0x, a block number, 'pending' or 'latest'.
///
/// # Returns
///
Expand Down
4 changes: 2 additions & 2 deletions crates/torii/types-test/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version = 1

[[package]]
name = "dojo"
version = "0.7.3"
version = "1.0.0-alpha.4"
dependencies = [
"dojo_plugin",
]
Expand All @@ -15,7 +15,7 @@ source = "git+https://github.com/dojoengine/dojo?rev=71b1f1a4#71b1f1a467534cbeeb

[[package]]
name = "types_test"
version = "0.7.3"
version = "1.0.0-alpha.4"
dependencies = [
"dojo",
]
4 changes: 2 additions & 2 deletions examples/spawn-and-move/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ dependencies = [

[[package]]
name = "dojo"
version = "0.7.3"
version = "1.0.0-alpha.4"
dependencies = [
"dojo_plugin",
]

[[package]]
name = "dojo_examples"
version = "0.7.3"
version = "1.0.0-alpha.4"
dependencies = [
"armory",
"bestiary",
Expand Down
2 changes: 1 addition & 1 deletion examples/spawn-and-move/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ rpc_url = "http://localhost:5050/"
# Default account for katana with seed = 0
account_address = "0x6162896d1d7ab204c7ccac6dd5f8e9e7c25ecd5ae4fcb4ad32e57786bb46e03"
private_key = "0x1800000000300000180000000000030000000000003006001800006600"
world_address = "0x25e74888e786245ec7aa93d846b2cc9e4b49a5244209860bbf4b384f654521b"
world_address = "0x2f6f0512832a8820173edb8e1adac28b7edc78bb3b6f038614adf4377b694c5"

[profile.release.tool.dojo]
# for more info on how `merge-strategy` works see:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
kind = "DojoContract"
class_hash = "0x2a8de224c28cae3049e23b352e7fce6f26cc99884331e5f2a6aea261398a27a"
original_class_hash = "0x2a8de224c28cae3049e23b352e7fce6f26cc99884331e5f2a6aea261398a27a"
class_hash = "0xc0a5037a6fdc0b374b270ca5e9f3bd76200d73d01f409749b7006b3cd6c03d"
original_class_hash = "0xc0a5037a6fdc0b374b270ca5e9f3bd76200d73d01f409749b7006b3cd6c03d"
base_class_hash = "0x0"
abi = "manifests/dev/base/abis/contracts/dojo_examples-actions-40b6994c.json"
reads = []
Expand Down
4 changes: 2 additions & 2 deletions examples/spawn-and-move/manifests/dev/base/dojo-world.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
kind = "Class"
class_hash = "0x2178527e9556d1aa21d3c2961d28f9114fcfed81b4c3674ed591c50ce46cc9d"
original_class_hash = "0x2178527e9556d1aa21d3c2961d28f9114fcfed81b4c3674ed591c50ce46cc9d"
class_hash = "0x14287624e97e0312d4e680e19071efce983810e909b32afc54cd9c8031f4c1c"
original_class_hash = "0x14287624e97e0312d4e680e19071efce983810e909b32afc54cd9c8031f4c1c"
abi = "manifests/dev/base/abis/dojo-world.json"
tag = "dojo-world"
manifest_name = "dojo-world"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
kind = "DojoModel"
class_hash = "0x61fa996f7cf8412bb5aca7d4bd4fd9eca806a92e5007e87d23f638b6774ed40"
original_class_hash = "0x61fa996f7cf8412bb5aca7d4bd4fd9eca806a92e5007e87d23f638b6774ed40"
class_hash = "0x2bfdf50f9ec0670b52065947e6ce2e1ebb39d54d19da1b65411b6d58bb04e79"
original_class_hash = "0x2bfdf50f9ec0670b52065947e6ce2e1ebb39d54d19da1b65411b6d58bb04e79"
abi = "manifests/dev/base/abis/models/dojo_examples-Moves-2e2accba.json"
tag = "dojo_examples-Moves"
manifest_name = "dojo_examples-Moves-2e2accba"
Expand Down
24 changes: 12 additions & 12 deletions examples/spawn-and-move/manifests/dev/deployment/manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"world": {
"kind": "WorldContract",
"class_hash": "0x2178527e9556d1aa21d3c2961d28f9114fcfed81b4c3674ed591c50ce46cc9d",
"original_class_hash": "0x2178527e9556d1aa21d3c2961d28f9114fcfed81b4c3674ed591c50ce46cc9d",
"class_hash": "0x14287624e97e0312d4e680e19071efce983810e909b32afc54cd9c8031f4c1c",
"original_class_hash": "0x14287624e97e0312d4e680e19071efce983810e909b32afc54cd9c8031f4c1c",
"abi": [
{
"type": "impl",
Expand Down Expand Up @@ -1221,8 +1221,8 @@
]
}
],
"address": "0x25e74888e786245ec7aa93d846b2cc9e4b49a5244209860bbf4b384f654521b",
"transaction_hash": "0x1606f5a86180d90027d33915cf0d62e117f778f8837df3c1375af3d3bc2951e",
"address": "0x2f6f0512832a8820173edb8e1adac28b7edc78bb3b6f038614adf4377b694c5",
"transaction_hash": "0x22c5e928ee07543e0eef5aae78ded9902d7d8647f76d46d743be2f2661ebab7",
"block_number": 3,
"seed": "dojo_examples",
"metadata": {
Expand All @@ -1242,9 +1242,9 @@
"contracts": [
{
"kind": "DojoContract",
"address": "0x24d926d75cd84104c3bd24f0f79e95c273d6a99ed449f3c8b83114857020332",
"class_hash": "0x2a8de224c28cae3049e23b352e7fce6f26cc99884331e5f2a6aea261398a27a",
"original_class_hash": "0x2a8de224c28cae3049e23b352e7fce6f26cc99884331e5f2a6aea261398a27a",
"address": "0x66221f204a50d51e28d03bc1578bc1845371cd0f0932666b507cd9721c183ec",
"class_hash": "0xc0a5037a6fdc0b374b270ca5e9f3bd76200d73d01f409749b7006b3cd6c03d",
"original_class_hash": "0xc0a5037a6fdc0b374b270ca5e9f3bd76200d73d01f409749b7006b3cd6c03d",
"base_class_hash": "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2",
"abi": [
{
Expand Down Expand Up @@ -1691,7 +1691,7 @@
},
{
"kind": "DojoContract",
"address": "0x31a348061c348eb84d7d9f1658244432170822cdb1a97a586805b565c168bcf",
"address": "0x71e9522f412f3458a3508d0449f8f3a4e1662da382c86393b3abb193d2968b5",
"class_hash": "0x45ad5a298db270a9c3ee439b7a7a008e3219b70937cfaa144589866442f3908",
"original_class_hash": "0x45ad5a298db270a9c3ee439b7a7a008e3219b70937cfaa144589866442f3908",
"base_class_hash": "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2",
Expand Down Expand Up @@ -1928,7 +1928,7 @@
},
{
"kind": "DojoContract",
"address": "0x4aee4238ae328cfe7ad116057e3e9ef083b75f13c1914a8f93ef32549ebe808",
"address": "0x33a28bd8c06940892f49b8d9211ddc5165ec9316087c1fa563e56152f95d429",
"class_hash": "0x3daab1621bba5f43f0d84f8f68ee7a5dfa4d83f98f746e2e9dcd3a848233e35",
"original_class_hash": "0x3daab1621bba5f43f0d84f8f68ee7a5dfa4d83f98f746e2e9dcd3a848233e35",
"base_class_hash": "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2",
Expand Down Expand Up @@ -2147,7 +2147,7 @@
},
{
"kind": "DojoContract",
"address": "0x1c6c32fc58a703d08ba0080ebf840e9c8021e86c37b239d28ce1a4576709ddc",
"address": "0x4de3cf22c1348202eaf06464aa308d1cbe8e6fea755ce4f0598a00d0e860886",
"class_hash": "0x647fc1b2d2e902e6304e127b36995d8f57fe45c38e38e15d8860db508dbf24a",
"original_class_hash": "0x647fc1b2d2e902e6304e127b36995d8f57fe45c38e38e15d8860db508dbf24a",
"base_class_hash": "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2",
Expand Down Expand Up @@ -4159,8 +4159,8 @@
"key": false
}
],
"class_hash": "0x61fa996f7cf8412bb5aca7d4bd4fd9eca806a92e5007e87d23f638b6774ed40",
"original_class_hash": "0x61fa996f7cf8412bb5aca7d4bd4fd9eca806a92e5007e87d23f638b6774ed40",
"class_hash": "0x2bfdf50f9ec0670b52065947e6ce2e1ebb39d54d19da1b65411b6d58bb04e79",
"original_class_hash": "0x2bfdf50f9ec0670b52065947e6ce2e1ebb39d54d19da1b65411b6d58bb04e79",
"abi": [
{
"type": "impl",
Expand Down
24 changes: 12 additions & 12 deletions examples/spawn-and-move/manifests/dev/deployment/manifest.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[world]
kind = "WorldContract"
class_hash = "0x2178527e9556d1aa21d3c2961d28f9114fcfed81b4c3674ed591c50ce46cc9d"
original_class_hash = "0x2178527e9556d1aa21d3c2961d28f9114fcfed81b4c3674ed591c50ce46cc9d"
class_hash = "0x14287624e97e0312d4e680e19071efce983810e909b32afc54cd9c8031f4c1c"
original_class_hash = "0x14287624e97e0312d4e680e19071efce983810e909b32afc54cd9c8031f4c1c"
abi = "manifests/dev/deployment/abis/dojo-world.json"
address = "0x25e74888e786245ec7aa93d846b2cc9e4b49a5244209860bbf4b384f654521b"
transaction_hash = "0x1606f5a86180d90027d33915cf0d62e117f778f8837df3c1375af3d3bc2951e"
address = "0x2f6f0512832a8820173edb8e1adac28b7edc78bb3b6f038614adf4377b694c5"
transaction_hash = "0x22c5e928ee07543e0eef5aae78ded9902d7d8647f76d46d743be2f2661ebab7"
block_number = 3
seed = "dojo_examples"
manifest_name = "dojo-world"
Expand All @@ -23,9 +23,9 @@ manifest_name = "dojo-base"

[[contracts]]
kind = "DojoContract"
address = "0x24d926d75cd84104c3bd24f0f79e95c273d6a99ed449f3c8b83114857020332"
class_hash = "0x2a8de224c28cae3049e23b352e7fce6f26cc99884331e5f2a6aea261398a27a"
original_class_hash = "0x2a8de224c28cae3049e23b352e7fce6f26cc99884331e5f2a6aea261398a27a"
address = "0x66221f204a50d51e28d03bc1578bc1845371cd0f0932666b507cd9721c183ec"
class_hash = "0xc0a5037a6fdc0b374b270ca5e9f3bd76200d73d01f409749b7006b3cd6c03d"
original_class_hash = "0xc0a5037a6fdc0b374b270ca5e9f3bd76200d73d01f409749b7006b3cd6c03d"
base_class_hash = "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2"
abi = "manifests/dev/deployment/abis/contracts/dojo_examples-actions-40b6994c.json"
reads = []
Expand All @@ -40,7 +40,7 @@ manifest_name = "dojo_examples-actions-40b6994c"

[[contracts]]
kind = "DojoContract"
address = "0x31a348061c348eb84d7d9f1658244432170822cdb1a97a586805b565c168bcf"
address = "0x71e9522f412f3458a3508d0449f8f3a4e1662da382c86393b3abb193d2968b5"
class_hash = "0x45ad5a298db270a9c3ee439b7a7a008e3219b70937cfaa144589866442f3908"
original_class_hash = "0x45ad5a298db270a9c3ee439b7a7a008e3219b70937cfaa144589866442f3908"
base_class_hash = "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2"
Expand All @@ -54,7 +54,7 @@ manifest_name = "dojo_examples-dungeon-6620e0e6"

[[contracts]]
kind = "DojoContract"
address = "0x4aee4238ae328cfe7ad116057e3e9ef083b75f13c1914a8f93ef32549ebe808"
address = "0x33a28bd8c06940892f49b8d9211ddc5165ec9316087c1fa563e56152f95d429"
class_hash = "0x3daab1621bba5f43f0d84f8f68ee7a5dfa4d83f98f746e2e9dcd3a848233e35"
original_class_hash = "0x3daab1621bba5f43f0d84f8f68ee7a5dfa4d83f98f746e2e9dcd3a848233e35"
base_class_hash = "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2"
Expand All @@ -68,7 +68,7 @@ manifest_name = "dojo_examples-mock_token-31599eb2"

[[contracts]]
kind = "DojoContract"
address = "0x1c6c32fc58a703d08ba0080ebf840e9c8021e86c37b239d28ce1a4576709ddc"
address = "0x4de3cf22c1348202eaf06464aa308d1cbe8e6fea755ce4f0598a00d0e860886"
class_hash = "0x647fc1b2d2e902e6304e127b36995d8f57fe45c38e38e15d8860db508dbf24a"
original_class_hash = "0x647fc1b2d2e902e6304e127b36995d8f57fe45c38e38e15d8860db508dbf24a"
base_class_hash = "0x2427dd10a58850ac9a5ca6ce04b7771b05330fd18f2e481831ad903b969e6b2"
Expand Down Expand Up @@ -173,8 +173,8 @@ key = false

[[models]]
kind = "DojoModel"
class_hash = "0x61fa996f7cf8412bb5aca7d4bd4fd9eca806a92e5007e87d23f638b6774ed40"
original_class_hash = "0x61fa996f7cf8412bb5aca7d4bd4fd9eca806a92e5007e87d23f638b6774ed40"
class_hash = "0x2bfdf50f9ec0670b52065947e6ce2e1ebb39d54d19da1b65411b6d58bb04e79"
original_class_hash = "0x2bfdf50f9ec0670b52065947e6ce2e1ebb39d54d19da1b65411b6d58bb04e79"
abi = "manifests/dev/deployment/abis/models/dojo_examples-Moves-2e2accba.json"
tag = "dojo_examples-Moves"
manifest_name = "dojo_examples-Moves-2e2accba"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
kind = "DojoContract"
class_hash = "0x2a8de224c28cae3049e23b352e7fce6f26cc99884331e5f2a6aea261398a27a"
original_class_hash = "0x2a8de224c28cae3049e23b352e7fce6f26cc99884331e5f2a6aea261398a27a"
class_hash = "0xc0a5037a6fdc0b374b270ca5e9f3bd76200d73d01f409749b7006b3cd6c03d"
original_class_hash = "0xc0a5037a6fdc0b374b270ca5e9f3bd76200d73d01f409749b7006b3cd6c03d"
base_class_hash = "0x0"
abi = "manifests/release/base/abis/contracts/dojo_examples-actions-40b6994c.json"
reads = []
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
kind = "Class"
class_hash = "0x2178527e9556d1aa21d3c2961d28f9114fcfed81b4c3674ed591c50ce46cc9d"
original_class_hash = "0x2178527e9556d1aa21d3c2961d28f9114fcfed81b4c3674ed591c50ce46cc9d"
class_hash = "0x14287624e97e0312d4e680e19071efce983810e909b32afc54cd9c8031f4c1c"
original_class_hash = "0x14287624e97e0312d4e680e19071efce983810e909b32afc54cd9c8031f4c1c"
abi = "manifests/release/base/abis/dojo-world.json"
tag = "dojo-world"
manifest_name = "dojo-world"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
kind = "DojoModel"
class_hash = "0x61fa996f7cf8412bb5aca7d4bd4fd9eca806a92e5007e87d23f638b6774ed40"
original_class_hash = "0x61fa996f7cf8412bb5aca7d4bd4fd9eca806a92e5007e87d23f638b6774ed40"
class_hash = "0x2bfdf50f9ec0670b52065947e6ce2e1ebb39d54d19da1b65411b6d58bb04e79"
original_class_hash = "0x2bfdf50f9ec0670b52065947e6ce2e1ebb39d54d19da1b65411b6d58bb04e79"
abi = "manifests/release/base/abis/models/dojo_examples-Moves-2e2accba.json"
tag = "dojo_examples-Moves"
manifest_name = "dojo_examples-Moves-2e2accba"
Expand Down
2 changes: 1 addition & 1 deletion scripts/clippy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set -x
set -o pipefail

run_clippy() {
cargo clippy --all-targets "$@" -- -D warnings -D future-incompatible -D nonstandard-style -D rust-2018-idioms -D unused -D missing-debug-implementations
cargo +nightly clippy --all-targets "$@" -- -D warnings -D future-incompatible -D nonstandard-style -D rust-2018-idioms -D unused -D missing-debug-implementations
}

run_clippy --all-features --workspace --exclude katana --exclude katana-executor
Expand Down

0 comments on commit b278787

Please sign in to comment.