Add default settings for betterpyright (not sure if they are applied)

This commit is contained in:
2025-05-09 03:11:11 +02:00
parent 7cf467c481
commit b1ab667f54
2 changed files with 25 additions and 1 deletions
+2 -1
View File
@@ -49,7 +49,7 @@
dcd = "docker-compose -f (../)#docker-compose.dev.yml";
k = "kubectl";
op = "xdg-open";
py = "python3 2> /dev/null || nix shell nixpkgs#python3 -c python3";
py = "python3 2> /dev/null || , python3";
jctl = "sudo journalctl -n 1000 -fu";
sloc = "scc";
mi = "mediainfo";
@@ -57,6 +57,7 @@
prename = "rename";
# add labels, replace type by fstype, use a single mountpoint
lsblk = "lsblk -o name,label,size,rm,ro,fstype,uuid,mountpoint";
dr = "direnv reload";
# viu doesn't work with tmux, icat does. using that while waiting
viu = "kitty +kitten icat";
+23
View File
@@ -0,0 +1,23 @@
return {
settings = {
basedpyright = {
analysis = {
diagnosticMode = "workspace",
diagnosticSeverityOverrides = {
reportUnannotatedClassAttribute = "false",
enableTypeIgnoreComments = "true",
reportIgnoreCommentWithoutRule = "false",
reportUnknownArgumentType = "false",
reportUnknownVariableType = "false",
reportMissingParameterType = "false",
reportUnknownParameterType = "false",
reportUnknownMemberType = "false",
reportAny = "false",
reportExplicitAny = "false",
reportMissingTypeStubs = "false",
reportUnknownLambdaType = "false",
}
},
}
}
}