Page MenuHomePhabricator

pep8-naming 0.12 gives additional errors
Closed, ResolvedPublic

Description

08:33:00 ./tests/ui_tests.py: line 190:16: N818 exception name 'TestException' should be named with an Error suffix
08:33:00 ./tests/ui_tests.py: line 203:16: N818 exception name 'TestException' should be named with an Error suffix
08:33:00 ./scripts/pagefromfile.py: line 78:8: N818 exception name 'NoTitle' should be named with an Error suffix
08:33:00 ./pywikibot/bot_choice.py: line 575:8: N818 exception name 'UnhandledAnswer' should be named with an Error suffix
08:33:00 ./pywikibot/bot_choice.py: line 584:8: N818 exception name 'ChoiceException' should be named with an Error suffix
08:33:00 ./pywikibot/bot_choice.py: line 593:8: N818 exception name 'QuitKeyboardInterrupt' should be named with an Error suffix

Event Timeline

Xqt triaged this task as High priority.

Change 703702 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [flake8] Fix N818 naming styles

https://gerrit.wikimedia.org/r/703702

Change 703702 merged by Xqt:

[pywikibot/core@master] [flake8] Fix N818 naming styles

https://gerrit.wikimedia.org/r/703702