From 64031a2360b00b67dd9b09755ea741f17113e8ba Mon Sep 17 00:00:00 2001 From: Brett Cannon <54418+brettcannon@users.noreply.github.com> Date: Mon, 8 Jul 2019 06:18:35 -0700 Subject: [PATCH] Remove snakemake files from being classified as Python files (#76625) They are not actually syntactically valid Python source. Fixes #76624 --- extensions/python/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/python/package.json b/extensions/python/package.json index 1553bad3191..645cba2bae3 100644 --- a/extensions/python/package.json +++ b/extensions/python/package.json @@ -11,7 +11,7 @@ "contributes": { "languages": [{ "id": "python", - "extensions": [ ".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi", ".snakefile", ".smk", ".pyi", ".ipy"], + "extensions": [ ".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi", ".pyi", ".ipy"], "aliases": [ "Python", "py" ], "filenames": [ "Snakefile" ], "firstLine": "^#!\\s*/.*\\bpython[0-9.-]*\\b", -- GitLab