python code does not pass the flake8 static checks
Bug #1444170 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
camera-app |
Fix Released
|
Undecided
|
Leo Arias | |||
qakit |
New
|
Undecided
|
Federico Gimenez | |||
ubuntu-keyboard |
Fix Released
|
Undecided
|
Leo Arias | |||
address-book-app (Ubuntu) |
Fix Released
|
Undecided
|
Federico Gimenez | |||
camera-app (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | |||
ubuntu-keyboard (Ubuntu) | ||||||
Vivid |
New
|
Undecided
|
Unassigned | |||
unity8 (Ubuntu) |
Fix Released
|
Medium
|
Unity UI Team | |||
webbrowser-app (Ubuntu) |
Fix Released
|
Undecided
|
Leo Arias | |||
Vivid |
New
|
Undecided
|
Unassigned |
Bug Description
Flake8 checks that the python code follows the right code style, and does some static checks for errors.
This branch is not passing the static tests.
Related branches
lp://staging/~saviq/unity8/fix-flake8
- Leo Arias (community): Approve
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Unity Team: Pending requested
-
Diff: 512 lines (+74/-53)14 files modifiedtests/autopilot/unity8/application_lifecycle/tests/test_application_lifecycle.py (+0/-2)
tests/autopilot/unity8/fixture_setup.py (+2/-0)
tests/autopilot/unity8/greeter/tests/__init__.py (+3/-1)
tests/autopilot/unity8/greeter/tests/test_args.py (+4/-2)
tests/autopilot/unity8/indicators/__init__.py (+8/-7)
tests/autopilot/unity8/indicators/tests/__init__.py (+1/-0)
tests/autopilot/unity8/indicators/tests/test_action_latency.py (+21/-18)
tests/autopilot/unity8/shell/emulators/dash.py (+15/-10)
tests/autopilot/unity8/shell/emulators/greeter.py (+0/-1)
tests/autopilot/unity8/shell/emulators/tutorial.py (+0/-1)
tests/autopilot/unity8/shell/tests/__init__.py (+1/-0)
tests/autopilot/unity8/shell/tests/test_lock_screen.py (+4/-4)
tests/autopilot/unity8/shell/tests/test_notifications.py (+14/-6)
tests/autopilot/unity8/shell/tests/test_tutorial.py (+1/-1)
lp://staging/~canonical-platform-qa/webbrowser-app/fix1444170-flake8
- Olivier Tilloy: Approve
- PS Jenkins bot: Needs Fixing (continuous-integration)
-
Diff: 49 lines (+9/-8)3 files modifieddebian/control (+1/-1)
tests/autopilot/webapp_container/tests/test_app_launch.py (+7/-6)
tests/unittests/sanity/CMakeLists.txt (+1/-1)
lp://staging/~canonical-platform-qa/qakit/flake8-fixes
Approved
for merging
into
lp://staging/qakit
- Vincent Ladeuil: Pending requested
- Thomi Richards: Pending requested
- Leo Arias: Pending requested
-
Diff: 428 lines (+65/-68)11 files modifiedqakit/__init__.py (+2/-2)
qakit/commands.py (+8/-7)
qakit/config.py (+2/-2)
qakit/format.py (+18/-12)
qakit/lkkb.py (+11/-9)
qakit/tests/__init__.py (+2/-3)
qakit/tests/test_config.py (+2/-4)
qakit/tests/test_format.py (+5/-6)
qakit/tests/test_trello.py (+3/-6)
qakit/trello.py (+7/-12)
setup.py (+5/-5)
Superseded
for merging
into
lp://staging/~thomir-deactivatedaccount/qakit/trunk
- Vincent Ladeuil (community): Approve
- Leo Arias (community): Approve
- Thomi Richards: Pending requested
-
Diff: 428 lines (+65/-68)11 files modifiedqakit/__init__.py (+2/-2)
qakit/commands.py (+8/-7)
qakit/config.py (+2/-2)
qakit/format.py (+18/-12)
qakit/lkkb.py (+11/-9)
qakit/tests/__init__.py (+2/-3)
qakit/tests/test_config.py (+2/-4)
qakit/tests/test_format.py (+5/-6)
qakit/tests/test_trello.py (+3/-6)
qakit/trello.py (+7/-12)
setup.py (+5/-5)
lp://staging/~canonical-platform-qa/address-book-app/flake8-fixes
- Renato Araujo Oliveira Filho (community): Approve
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Leo Arias (community): Approve
-
Diff: 300 lines (+73/-42)8 files modifiedtests/autopilot/address_book_app/__init__.py (+3/-3)
tests/autopilot/address_book_app/pages/_contact_editor.py (+4/-2)
tests/autopilot/address_book_app/pages/_sim_card_import_page.py (+4/-1)
tests/autopilot/address_book_app/tests/test_add_contact.py (+10/-9)
tests/autopilot/address_book_app/tests/test_custom_proxy_objects.py (+1/-0)
tests/autopilot/address_book_app/tests/test_edit_contact.py (+4/-2)
tests/autopilot/address_book_app/tests/test_multiple_pick_mode.py (+18/-10)
tests/autopilot/address_book_app/tests/test_single_pick_mode.py (+29/-15)
lp://staging/~canonical-platform-qa/camera-app/fix1444170-flake8
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 680 lines (+118/-85)13 files modifieddebian/control (+1/-0)
debian/rules (+4/-0)
tests/autopilot/camera_app/emulators/main_window.py (+5/-5)
tests/autopilot/camera_app/emulators/panel.py (+5/-3)
tests/autopilot/camera_app/tests/__init__.py (+2/-5)
tests/autopilot/camera_app/tests/test_capture.py (+35/-20)
tests/autopilot/camera_app/tests/test_diskspace.py (+22/-17)
tests/autopilot/camera_app/tests/test_flash.py (+12/-9)
tests/autopilot/camera_app/tests/test_focus.py (+3/-3)
tests/autopilot/camera_app/tests/test_gallery_view.py (+10/-6)
tests/autopilot/camera_app/tests/test_options.py (+6/-3)
tests/autopilot/camera_app/tests/test_photo_editor.py (+11/-12)
tests/autopilot/camera_app/tests/test_zoom.py (+2/-2)
lp://staging/~canonical-platform-qa/ubuntu-keyboard/fix1444170-flake8
- Ken VanDine: Approve
- Michael Sheldon (community): Approve
- PS Jenkins bot: Needs Fixing (continuous-integration)
-
Diff: 405 lines (+75/-46)6 files modifieddebian/control (+1/-0)
debian/rules (+1/-0)
tests/autopilot/ubuntu_keyboard/emulators/keyboard.py (+13/-8)
tests/autopilot/ubuntu_keyboard/emulators/keypad.py (+10/-2)
tests/autopilot/ubuntu_keyboard/tests/test_keyboard.py (+47/-35)
tools/overrides-from-hunspell.py (+3/-1)
Changed in unity8 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in unity8 (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Michał Sawicz (saviq) |
Changed in webbrowser-app (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Leo Arias (elopio) |
Changed in qakit: | |
assignee: | nobody → Federico Gimenez (fgimenez) |
Changed in address-book-app (Ubuntu): | |
assignee: | nobody → Federico Gimenez (fgimenez) |
status: | New → In Progress |
Changed in camera-app: | |
assignee: | nobody → Leo Arias (elopio) |
status: | New → In Progress |
Changed in ubuntu-keyboard: | |
status: | New → In Progress |
assignee: | nobody → Leo Arias (elopio) |
Changed in unity8 (Ubuntu): | |
assignee: | Michał Sawicz (saviq) → Unity Team (unity-team) |
assignee: | Unity Team (unity-team) → Unity UI Team (unity-ui-team) |
Changed in webbrowser-app (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in ubuntu-keyboard: | |
status: | In Progress → Fix Released |
Changed in camera-app: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Leo, how is flake8 invoked to check for errors/warnings? I’m asking because webbrowser-app has a unit test that runs flake8 on its autopilot tests, so any error/warning should prevent it from landing. See http:// bazaar. launchpad. net/~phablet- team/webbrowser -app/trunk/ view/head: /tests/ unittests/ sanity/ CMakeLists. txt.