Skip to content

[REQ]flake8の無視するときのオプション名をignoreからextend-ignoreに変更する #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
yuji38kwmt opened this issue Jan 22, 2020 · 0 comments · Fixed by #114
Labels
enhancement New feature or request

Comments

@yuji38kwmt
Copy link
Collaborator

yuji38kwmt commented Jan 22, 2020

flake8はデフォルトで無視されるエラー/警告がある。

  --ignore=errors       Comma-separated list of errors and warnings to ignore
                        (or skip). For example, ``--ignore=E4,E51,W234``.
                        (Default: E121,E123,E126,E226,E24,E704,W503,W504)

しかし、--ignoreを有効にすると、デフォルトのエラー/警告が無視されない。

--extend-ignoreなら、デフォルトのエラー/警告が無視されたままになるので、--extend-ignoreを設定ファイルで指定したい。

https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-extend-ignore

@yuji38kwmt yuji38kwmt added the enhancement New feature or request label Jan 22, 2020
yuji38kwmt added a commit that referenced this issue Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant