Merge pull request #722 from Alexander-N/new-ret-no-self
Remove ignoring of new_ret_no_self in clippy target
This commit is contained in:
commit
68726f9674
6
Makefile
6
Makefile
|
@ -1,8 +1,7 @@
|
||||||
.PHONY: test test_py3 publish clippy lint fmt
|
.PHONY: test test_py3 publish clippy lint fmt
|
||||||
|
|
||||||
# Constants used in clippy target
|
# Constant used in clippy target
|
||||||
CLIPPY_LINTS_TO_DENY := warnings
|
CLIPPY_LINTS_TO_DENY := warnings
|
||||||
CLIPPY_LINTS_TO_ALLOW := clippy::new_ret_no_self
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
cargo test
|
cargo test
|
||||||
|
@ -21,8 +20,7 @@ fmt:
|
||||||
clippy:
|
clippy:
|
||||||
@touch src/lib.rs # Touching file to ensure that cargo clippy will re-check the project
|
@touch src/lib.rs # Touching file to ensure that cargo clippy will re-check the project
|
||||||
cargo clippy --all-features --all-targets -- \
|
cargo clippy --all-features --all-targets -- \
|
||||||
$(addprefix -D ,${CLIPPY_LINTS_TO_DENY}) \
|
$(addprefix -D ,${CLIPPY_LINTS_TO_DENY})
|
||||||
$(addprefix -A ,${CLIPPY_LINTS_TO_ALLOW})
|
|
||||||
|
|
||||||
lint: fmt clippy
|
lint: fmt clippy
|
||||||
@true
|
@true
|
||||||
|
|
Loading…
Reference in a new issue