Add cairo lint and format pre-commits
Opened this issue · 0 comments
AbdelStark commented
Description
Ideally we want to prevent commits with lint issues or bad formatting. Currently we do this kind of checks on the continuous integration.
We can use pre-commit-cairo. It uses Armana static analyzer under the hood.
Acceptance criteria
- commits with lint issues are rejected
- commits with formatting issues are rejected
Requirements
- Install pre-commit on local dev environment
- Install armana on local dev environment
We should update README
file to add the requirements instructions.