🧑💻 Use ruff/mypy/black linter/type-checker/formatter
* Use of python-lsp-server with emacs (cf. .dir-locals.el file) * Remove autopep8/pycodestyle/pydocstyle/pyflakes/pylint/yapf
This commit is contained in:
10
backend/.dir-locals.el
Normal file
10
backend/.dir-locals.el
Normal file
@@ -0,0 +1,10 @@
|
||||
;; Cf. https://gist.github.com/doolio/8c1768ebf33c483e6d26e5205896217f
|
||||
((python-mode
|
||||
. ((eglot-workspace-configuration
|
||||
. (:pylsp (:plugins (:pylint (:enabled :json-false)
|
||||
:pycodestyle (:enabled :json-false)
|
||||
:yapf (:enabled :json-false)
|
||||
:pyflakes (:enabled :json-false)
|
||||
:ruff (:enabled t)
|
||||
:mypy (:enabled t)
|
||||
:black (:enabled t))))))))
|
Reference in New Issue
Block a user