mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 12:32:38 +01:00
ae66312d8c
* Add Python linter to github actions * wip * Add back splat_ext * Format files * C++ -> C * format 2 files * split workflow into separate file, line length 120, fix excludes * -l 120 in ci * update black locally and apply formatting changes * pyproject.toject --------- Co-authored-by: Ethan Roseman <ethteck@gmail.com>
73 lines
1.9 KiB
JSON
73 lines
1.9 KiB
JSON
{
|
|
"files.eol": "\n",
|
|
"files.insertFinalNewline": true,
|
|
"editor.rulers": [
|
|
120
|
|
],
|
|
"clang-tidy.compilerArgs": [
|
|
"-std=gnu89",
|
|
"-Iinclude",
|
|
"-Iinclude/PR",
|
|
"-Iver/current/build/include",
|
|
"-Isrc",
|
|
"-D_LANGUAGE_C",
|
|
"-Wall"
|
|
],
|
|
"clang-tidy.blacklist": [
|
|
"include/PR",
|
|
"include/gcc"
|
|
],
|
|
"git.ignoreLimitWarning": true,
|
|
"search.exclude": {
|
|
"**/*.i": true,
|
|
"**/build/src": true,
|
|
"ctx.c": true,
|
|
"docs/doxygen": true,
|
|
"expected": true,
|
|
"ver/jp/expected": true,
|
|
"ver/us/expected": true,
|
|
"ver/pal/expected": true,
|
|
"ver/ique/expected": true
|
|
},
|
|
"python.autoComplete.extraPaths": [
|
|
"./tools"
|
|
],
|
|
"python.analysis.extraPaths": [
|
|
"./tools",
|
|
"./tools/build",
|
|
"./tools/build/sprite",
|
|
"./tools/splat",
|
|
"./tools/build/imgfx"
|
|
],
|
|
"[c]": {
|
|
"editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?", // no $, for scripts
|
|
"editor.formatOnSave": false, // TODO: enable this once we solve EVTs, see #1004
|
|
"editor.formatOnSaveMode": "modifications",
|
|
"editor.defaultFormatter": "xaver.clang-format",
|
|
},
|
|
"files.associations": {
|
|
"*.h": "c",
|
|
},
|
|
"C_Cpp.autoAddFileAssociations": false,
|
|
"C_Cpp.default.cStandard": "c89",
|
|
"files.exclude": {
|
|
"**/.git": true,
|
|
"**/.splat_cache": true,
|
|
".ninja*": true,
|
|
"ver/current": true,
|
|
"expected": true,
|
|
"**/*.i": true,
|
|
"docs/doxygen": true
|
|
},
|
|
"[python]": {
|
|
"editor.formatOnType": true,
|
|
"editor.wordBasedSuggestions": false,
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnSaveMode": "modifications",
|
|
"editor.defaultFormatter": "ms-python.black-formatter",
|
|
},
|
|
"black-formatter.args": [
|
|
"-l 120"
|
|
],
|
|
}
|