Skip to content

Commit 9da7e5d

Browse files
committedMay 16, 2024
Merge branch 'tomas/lint-dbg-and-prints' (#3257)
* tomas/lint-dbg-and-prints: changelog: add #3257 fix lint warnings add lints for dbg and prints (except for in tests)
2 parents 112db3b + a1c534c commit 9da7e5d

File tree

47 files changed

+301
-127
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+301
-127
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Lint for left-over debug and print statements.
2+
([\#3257](https://github.com/anoma/namada/pull/3257))

‎clippy.toml

+2
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ disallowed-methods = [
99
{ path = "namada_core::time::DateTimeUtc::now", reason = "Do not use current date/time in code that must be deterministic" },
1010
{ path = "wasmtimer::std::Instant", reason = "Do not use current date/time in code that must be deterministic" },
1111
]
12+
allow-dbg-in-tests = true
13+
allow-print-in-tests = true

0 commit comments

Comments
 (0)