Skip to content

Commit

Permalink
Readme instruction for CQA commands (#1311)
Browse files Browse the repository at this point in the history
  • Loading branch information
aljazerzen committed May 7, 2024
1 parent 6cfd949 commit f51c0c3
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,16 @@ opt-level = 2 # 1 -- needed so windows don't get stack overflow, 2 - for GHA
[profile.release]
debug = true
lto = true

[lints.clippy]
useless_format = 'allow'
collapsible_if = 'allow'
derive_partial_eq_without_eq = 'allow'
zero_ptr = 'allow'
manual_strip = 'allow'
new_ret_no_self = 'allow'
type_complexity = 'allow'
vec_init_then_push = 'allow'
while_let_on_iterator = 'allow'
too_many_arguments = 'allow'
clone_on_copy = 'allow'
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,19 @@ There are a few categories of tests in this repo:
- Github Actions & Nightly tests


Code Quality Assurance
======================

This project uses rustfmt and clippy to provide a unified code style.
When opening pull requests, it is advised to run the following commands
before doing so:

```bash
$ cargo clippy --all-features --workspace --all-targets
$ cargo fmt
```


License
=======

Expand Down
13 changes: 13 additions & 0 deletions edgedb-cli-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,16 @@ heck = {workspace = true}
[lib]
proc-macro = true
test = false

[lints.clippy]
useless_format = 'allow'
collapsible_if = 'allow'
derive_partial_eq_without_eq = 'allow'
zero_ptr = 'allow'
manual_strip = 'allow'
new_ret_no_self = 'allow'
type_complexity = 'allow'
vec_init_then_push = 'allow'
while_let_on_iterator = 'allow'
too_many_arguments = 'allow'
clone_on_copy = 'allow'

0 comments on commit f51c0c3

Please sign in to comment.