Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add lints to papyrus_common (#1783)
* chore: add free inherit lints in crates All crates not inheriting from workspace lints fail the workspace lints and will be handled separately. Motivation: consistent linting across project and in the CI. Note: found an unrelated cargo doc bug in starknet_api_test_utils, not sure why this wasn't triggered thus far, lints are unrelated. * chore: add lints to papyrus_common Lior banned `as` repo-wide, unless absolutely necessary. Nearly all `as` uses can be replaced with `[Try]From` which doesn't have implicit coercions like `as` (we encountered several bugs due to these coersions). Motivation: we are standardizing lints across the repo and CI, instead of each crate having separate sets of lints. Co-Authored-By: Gilad Chase <[email protected]>
- Loading branch information