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 b952a91 commit a53da83Copy full SHA for a53da83
nix/treefmt/flake-module.nix
@@ -18,7 +18,7 @@
18
];
19
20
programs.mypy = {
21
- enable = pkgs.stdenv.buildPlatform.isLinux;
+ enable = pkgs.stdenv.buildPlatform.isUnix;
22
package = pkgs.buildbot.python.pkgs.mypy;
23
directories."." = {
24
modules = [
@@ -37,7 +37,7 @@
37
# the mypy module adds `./buildbot_nix/**/*.py` which does not appear to work
38
# furthermore, saying `directories.""` will lead to `/buildbot_nix/**/*.py` which
39
# is obviously incorrect...
40
- settings.formatter."mypy-" = lib.mkIf pkgs.stdenv.buildPlatform.isLinux {
+ settings.formatter."mypy-" = lib.mkIf pkgs.stdenv.buildPlatform.isUnix {
41
includes = [ "buildbot_nix/**/*.py" ];
42
};
43
settings.formatter.ruff-check.priority = 1;
0 commit comments