Skip to content

Commit 68726f9

Browse files
authored
Merge pull request #722 from Alexander-N/new-ret-no-self
Remove ignoring of new_ret_no_self in clippy target
2 parents 6bd6633 + 6e216ff commit 68726f9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
.PHONY: test test_py3 publish clippy lint fmt
22

3-
# Constants used in clippy target
3+
# Constant used in clippy target
44
CLIPPY_LINTS_TO_DENY := warnings
5-
CLIPPY_LINTS_TO_ALLOW := clippy::new_ret_no_self
65

76
test:
87
cargo test
@@ -21,8 +20,7 @@ fmt:
2120
clippy:
2221
@touch src/lib.rs # Touching file to ensure that cargo clippy will re-check the project
2322
cargo clippy --all-features --all-targets -- \
24-
$(addprefix -D ,${CLIPPY_LINTS_TO_DENY}) \
25-
$(addprefix -A ,${CLIPPY_LINTS_TO_ALLOW})
23+
$(addprefix -D ,${CLIPPY_LINTS_TO_DENY})
2624

2725
lint: fmt clippy
2826
@true

0 commit comments

Comments
 (0)