Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add commandline arguments to flake8 call#404

Unanswered
buhtz asked this question inQ&A
Discussion options

My eglot-pylsp-setup do use flake8.

I do use this piece of code somewhere from your docu to activate flake8.

              ;; the correct format is described here: https://joaotavora.github.io/eglot/#Eglot-Variables              ;; the configuration to setup flake8 here: https://github.com/python-lsp/python-lsp-server#configuration              '((:pyls . (:plugins (:mccabe (:enabled :json-false))))                (:pylsp . (:plugins (:mccabe (:enabled :json-false)                                             :pycodestyle (:enabled :json-false)                                             :pyflakes (:enabled :json-false)                                             :flake8 (:enabled t)                                             :rope_autoimport (:enabled :json-false))                                    :configurationSources ["flake8"]))

I would like to add arguments to flake8 without using a config file (.flake8) inside my repository.
Calling it on command line I would like to doflake8 --builtins="_".

Can I do this somewho in my Emacs init file eglot-pylsp-config?

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@buhtz

[8]ページ先頭

©2009-2025 Movatter.jp