Skip to content

Commit

Permalink
Fix check-py-files
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Nov 1, 2023
1 parent a8c5887 commit 77d8e0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 2 additions & 5 deletions checks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@
let
inherit (self.inputs) nix-filter;
in
{
rec {
inherit (self.outputs.packages.${pkgs.system}) nix-alien nix-index-update;

check-py-files = pkgs.runCommand "check-py-files"
{
src = nix-filter.lib {
root = ./.;
include = [ "nix_alien" "tests" ];
};
inherit (nix-alien) src;
nativeBuildInputs = with pkgs; [
python3.pkgs.black
python3.pkgs.mypy
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,6 @@ select = [
"UP", # pyupgrade
"W", # pycodestyle
]
ignore = [ "PLR0913" ]
ignore = [
"PLR0913" # too-many-arguments
]

0 comments on commit 77d8e0d

Please sign in to comment.