2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Flycheckが~/.flake8を見てくれない対策

Last updated at Posted at 2018-06-02

Emacsのflycheck(文法チェッカー)がflake8の設定ファイル ~/.flake8 を参照してくれていない(ignoreに指定した項目も警告される)ようなので、対策を調べてみた。

.dir-locals.elをプロジェクトルートディレクトリに置き、以下の内容にする。簡単!

.dir-locals.el
((python-mode . ((flycheck-flake8rc . "~/.flake8"))))

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?