changeset 395:3f2b7b399dee

Disable slow flake8 for now
author zegervdv <zegervdv@me.com>
date Mon, 14 Jun 2021 18:38:01 +0200
parents a80312c2755b
children 39744843446d
files dot_config/nvim/lua/efm/python.lua
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/dot_config/nvim/lua/efm/python.lua	Wed Jun 09 11:38:50 2021 +0200
+++ b/dot_config/nvim/lua/efm/python.lua	Mon Jun 14 18:38:01 2021 +0200
@@ -6,12 +6,12 @@
   table.insert(languages.python, { formatCommand = 'black -', formatStdin = true })
 end
 
-if (vim.fn.executable('flake8') == 1) then
-  table.insert(languages.python, {
-    lintCommand = 'flake8 --stdin-display-name ${INPUT} -',
-    lintStdin = true,
-    lintIgnoreExitCode = true,
-    lintFormats = { '%f:%l:%c: %m' },
-  })
-end
+-- if (vim.fn.executable('flake8') == 1) then
+--   table.insert(languages.python, {
+--     lintCommand = 'flake8 --stdin-display-name ${INPUT} -',
+--     lintStdin = true,
+--     lintIgnoreExitCode = true,
+--     lintFormats = { '%f:%l:%c: %m' },
+--   })
+-- end