mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
f354075c7a
This is a new issue that gets linted with flake8 3.5.0. Basically you should never use a blank except: statement. This will catch all exceptions, including KeyboardInterrupt and SystemExit (which is likely not intended). If a catch all is needed, use `except: Exception`. If you *really* mean to also catch KeyboardInterrupt et al, use `except: BaseException`. Of course, being specific is often better than a catch all. MozReview-Commit-ID: FKx80MLO4RN --HG-- extra : rebase_source : 7c74a7d0d81f2c984b47aff3a0ee3448b791177b
7 lines
223 B
INI
7 lines
223 B
INI
[flake8]
|
|
# See http://pep8.readthedocs.io/en/latest/intro.html#configuration
|
|
ignore = E121, E123, E126, E129, E133, E226, E241, E242, E704, W503, E402, E741
|
|
max-line-length = 99
|
|
exclude =
|
|
testing/mochitest/pywebsocket,
|