From 97dcfe8424a5deb9748124e160fcf893e394dbe6 Mon Sep 17 00:00:00 2001 From: "Reza (Shahin) Khanipour" Date: Wed, 28 Aug 2024 13:08:26 +0200 Subject: [PATCH] feat(python): add pylint and enable all lsp dependencies for python. This results in having Python checks running inside the editor. --- devenv.nix | 3 ++- .../devenv.nix.jinja | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/devenv.nix b/devenv.nix index 899ec5c..bc85520 100644 --- a/devenv.nix +++ b/devenv.nix @@ -44,7 +44,8 @@ enable = true; requirements = '' pdm - python-lsp-server + python-lsp-server[all] + pylint importmagic epc ''; diff --git a/template/{% if language == 'Python' %}{{ project_name }}{% endif %}/devenv.nix.jinja b/template/{% if language == 'Python' %}{{ project_name }}{% endif %}/devenv.nix.jinja index 1710202..4d7178d 100644 --- a/template/{% if language == 'Python' %}{{ project_name }}{% endif %}/devenv.nix.jinja +++ b/template/{% if language == 'Python' %}{{ project_name }}{% endif %}/devenv.nix.jinja @@ -7,7 +7,8 @@ enable = true; requirements = '' pdm -python-lsp-server +python-lsp-server[all] +pylint importmagic epc black