mirror of
https://github.com/ankitects/anki.git
synced 2025-12-10 13:26:56 -05:00
Fix undisruptive formatting issues (#1848)
* Skip unparsable pylib files with black This was causing black to return a non-zero code, preventing the subsequent isort from running. * Organise imports on save
This commit is contained in:
parent
fc8b976ca8
commit
890b28c1e8
2 changed files with 4 additions and 1 deletions
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
|
|
@ -1,5 +1,8 @@
|
|||
{
|
||||
"editor.formatOnSave": true,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.organizeImports": true
|
||||
},
|
||||
"files.watcherExclude": {
|
||||
"**/.git/objects/**": true,
|
||||
"**/.git/subtree-cache/**": true,
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ if __name__ == "__main__":
|
|||
"anki",
|
||||
"tests",
|
||||
"tools",
|
||||
"--exclude=_pb2|buildinfo|_gen",
|
||||
"--exclude=_pb2|buildinfo|_gen|_backend/generated|fluent",
|
||||
]
|
||||
+ args,
|
||||
check=False,
|
||||
|
|
|
|||
Loading…
Reference in a new issue