We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e35d54 commit 66a8d04Copy full SHA for 66a8d04
nix/tools/style.nix
@@ -8,6 +8,7 @@
8
, hsie
9
, nixpkgs-fmt
10
, python3Packages
11
+, ruff
12
, silver-searcher
13
, statix
14
, stylish-haskell
@@ -64,10 +65,14 @@ let
64
65
echo "Scanning nix files for unused code..."
66
${deadnix}/bin/deadnix -f
67
68
+ # ruff has gaps in scanning for unused code, so we use vulture
69
echo "Scanning python files for unused code..."
70
${silver-searcher}/bin/ag -l --vimgrep -g '\.l?py$' . \
71
| xargs ${python3Packages.vulture}/bin/vulture --exclude docs/conf.py
72
73
+ echo "Linting python files..."
74
+ ${ruff}/bin/ruff check .
75
+
76
echo "Checking consistency of import aliases in Haskell code..."
77
${hsie} check-aliases main src
78
0 commit comments