From 8e34d092f86a3c1f7f730428c8e1399dda88ef36 Mon Sep 17 00:00:00 2001 From: Lev Date: Tue, 8 Feb 2022 12:27:54 +0300 Subject: [PATCH] Fix pre-commit config (#657) * Fix pre-commit config * Lint settings.json --- .pre-commit-config.yaml | 2 +- development/vscode-example/settings.json | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b7ed7bbb..612c73e0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,7 +36,7 @@ repos: - id: shfmt name: shfmt language: golang - additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt] + additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@latest] entry: shfmt args: [-w] types: [shell] diff --git a/development/vscode-example/settings.json b/development/vscode-example/settings.json index 7df2d897..d0877e6f 100644 --- a/development/vscode-example/settings.json +++ b/development/vscode-example/settings.json @@ -1,7 +1,5 @@ { "debug.node.autoAttach": "disabled", "python.pythonPath": "/workspace/frappe-bench/env/bin/python", - "python.analysis.extraPaths": [ - "./frappe-bench/apps/frappe" - ], + "python.analysis.extraPaths": ["./frappe-bench/apps/frappe"] }