mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00

- Switch to Qt 6.8 for repo default, as 6.7 depends on an older libwebp/tiff which is unavailable on newer installs - Drop tools/mac-x86, as we no longer need to test against Qt 5 - Add flags to cross compile wheels on Mac and Linux - Bump glibc target to 2_36, building on Debian Stable - Increase mpv timeout on macOS to allow for initial gatekeeper checks - Ship both arm64 and amd64 uv on Linux, with a bash stub to pick the appropriate arch.
44 lines
1.3 KiB
JSON
44 lines
1.3 KiB
JSON
{
|
|
"editor.formatOnSave": true,
|
|
"[python]": {
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports": "explicit"
|
|
}
|
|
},
|
|
"files.watcherExclude": {
|
|
"**/.git/objects/**": true,
|
|
"**/.git/subtree-cache/**": true,
|
|
"**/node_modules/*/**": true,
|
|
".bazel/**": true
|
|
},
|
|
"python.analysis.extraPaths": [
|
|
"./pylib",
|
|
"out/pylib",
|
|
"./pylib/anki/_vendor",
|
|
"out/qt",
|
|
"qt"
|
|
],
|
|
"python.formatting.provider": "black",
|
|
"python.linting.mypyEnabled": false,
|
|
"python.analysis.diagnosticSeverityOverrides": {
|
|
"reportMissingModuleSource": "none"
|
|
},
|
|
"rust-analyzer.check.allTargets": false,
|
|
"rust-analyzer.files.excludeDirs": [".bazel", "node_modules"],
|
|
"rust-analyzer.procMacro.enable": true,
|
|
// this formats 'use' blocks in a nicer way, but requires you to run
|
|
// 'rustup install nightly'.
|
|
"rust-analyzer.rustfmt.extraArgs": ["+nightly"],
|
|
"search.exclude": {
|
|
"**/node_modules": true,
|
|
".bazel/**": true
|
|
},
|
|
"rust-analyzer.cargo.buildScripts.enable": true,
|
|
"python.analysis.typeCheckingMode": "off",
|
|
"python.analysis.exclude": [
|
|
"out/launcher/**"
|
|
],
|
|
"terminal.integrated.env.windows": {
|
|
"PATH": "c:\\msys64\\usr\\bin;${env:Path}"
|
|
}
|
|
}
|