File tree 3 files changed +10
-1
lines changed 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ use nix
115
115
## Python
116
116
117
117
- [ black] ( https://github.com/psf/black )
118
+ - [ ruff] ( https://github.com/charliermarsh/ruff )
118
119
- [ isort] ( https://github.com/PyCQA/isort )
119
120
- [ pylint] ( https://github.com/PyCQA/pylint )
120
121
- [ flake8] ( https://github.com/PyCQA/flake8 )
Original file line number Diff line number Diff line change 349
349
entry = "${ pkgs . python3Packages . black } /bin/black" ;
350
350
types = [ "file" "python" ] ;
351
351
} ;
352
+ ruff =
353
+ {
354
+ name = "ruff" ;
355
+ description = " An extremely fast Python linter, written in Rust." ;
356
+ entry = "${ pkgs . ruff } /bin/ruff" ;
357
+ types = [ "python" ] ;
358
+ } ;
352
359
cabal2nix =
353
360
{
354
361
name = "cabal2nix" ;
Original file line number Diff line number Diff line change 29
29
, nodePackages
30
30
, ormolu
31
31
, python39Packages
32
+ , ruff
32
33
, runCommand
33
34
, rustfmt
34
35
, shellcheck
54
55
} ;
55
56
in
56
57
{
57
- inherit actionlint ansible-lint alejandra cabal-fmt cabal2nix cargo clang-tools clippy deadnix dhall editorconfig-checker hadolint hindent hlint hpack html-tidy nixfmt nixpkgs-fmt ormolu rustfmt shellcheck shfmt statix stylish-haskell stylua typos go mdsh revive go-tools yamllint ;
58
+ inherit actionlint ansible-lint alejandra cabal-fmt cabal2nix cargo clang-tools clippy deadnix dhall editorconfig-checker hadolint hindent hlint hpack html-tidy nixfmt nixpkgs-fmt ormolu rustfmt shellcheck shfmt statix stylish-haskell stylua typos go mdsh revive go-tools yamllint ruff ;
58
59
inherit ( elmPackages ) elm-format elm-review elm-test ;
59
60
# TODO: these two should be statically compiled
60
61
inherit ( haskellPackages ) fourmolu ;
You can’t perform that action at this time.
0 commit comments