diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7a005d7..14329c9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,11 +17,18 @@ The most important tools and commands in this environment are: ```bash cargo test ``` -- Linting and formatting: +- Formatting: ```bash - cargo clippy --all-targets treefmt ``` +- Linting: + ```bash + cargo clippy --all-targets + ``` + Or optionally: + ```bash + cargo clippy --all-targets -- -W clippy::nursery -W clippy::pedantic + ``` - Running the [main CI checks](./.github/workflows/main.yml) locally: ```bash nix-build -A ci diff --git a/src/main.rs b/src/main.rs index 4f2a459..1976500 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,8 +1,3 @@ -#![warn(clippy::pedantic, clippy::nursery)] -// too many false-positives. discussion: -// https://github.com/NixOS/nixpkgs-vet/pull/124#pullrequestreview-2405109643 -#![allow(clippy::module_name_repetitions)] - mod eval; mod location; mod nix_file;