Skip to content

Commit

Permalink
Make clippy more pedantic
Browse files Browse the repository at this point in the history
  • Loading branch information
WGUNDERWOOD committed Sep 2, 2024
1 parent 3183b0c commit 9abddb0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 5 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
default: test clippy format shellcheck
default: test doc clippy format shellcheck

all: default prof perf logo latex

alias b := build
alias d := doc
alias t := test
alias l := latex
alias c := clippy
Expand All @@ -14,6 +15,9 @@ build:
test:
@cargo test -r

doc:
@cargo doc

testignored:
@cargo test -r -- --ignored

Expand Down
8 changes: 8 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#![warn(missing_docs)]
#![warn(clippy::nursery)]
#![warn(clippy::cargo)]
#![warn(clippy::missing_docs_in_private_items)]
#![warn(clippy::pedantic)]
#![allow(clippy::wildcard_imports)]
#![allow(clippy::module_name_repetitions)]

use clap::Parser;
use log::Level::Error;
use std::fs;
Expand Down

0 comments on commit 9abddb0

Please sign in to comment.