Merge branch 'reorder-plugin-handle-corner-case' into 'master'

Fix an issue where the reorder plugin would not create gaps

See merge request !99
8 jobs for master in 5 minutes and 30 seconds (queued for 1 second)
Status Job ID Name Coverage
  Lint
failed #28261
allowed to fail
mypyc

00:00:46

failed #28259
allowed to fail
pylint-latest

00:03:30

passed #28260
pylint-plugins

00:02:20

passed #28258
security-check

00:00:49

 
  Test
passed #28262
pytest-3.7

00:01:03

passed #28263
pytest-latest

00:01:34

 
  Build
failed #28264
www
build-doc

00:00:00

passed #28265
build-ubuntu

00:00:25

 
Name Stage Failure
failed
build-doc Build
Running with gitlab-runner 12.10.1 (ce065b93)
on Mount /usr/local/www/doc.poez.io into /www to deploy doc yAxGkoWJ
Preparing the "custom" executor
WARNING: custom executor is missing RunExec
ERROR: Job failed: custom executor is missing RunExec
failed
mypyc Lint
poezio/plugin_e2ee.py:329: error: Unexpected keyword argument "passthrough" for "_encrypt" of "E2EEPlugin"
poezio/plugin_e2ee.py:374: error: Item "MucTab" of "Union[MucTab, DynamicConversationTab, StaticConversationTab, PrivateTab]" has no attribute "parent_muc"
poezio/plugin_e2ee.py:374: error: Item "DynamicConversationTab" of "Union[MucTab, DynamicConversationTab, StaticConversationTab, PrivateTab]" has no attribute "parent_muc"
poezio/plugin_e2ee.py:374: error: Item "StaticConversationTab" of "Union[MucTab, DynamicConversationTab, StaticConversationTab, PrivateTab]" has no attribute "parent_muc"
poezio/plugin_e2ee.py:389: note: "_encrypt" of "E2EEPlugin" defined here
poezio/plugin_e2ee.py:499: error: Incompatible return value type (got "Union[str, int, float, bool]", expected "str")
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
pylint-latest Lint
poezio/decorators.py:48:16: E1101: Instance of 'RefreshWrapper' has no 'doupdate' member (no-member)
************* Module poezio.core.core
poezio/core/core.py:1078:8: E1102: self.tabs.next is not callable (not-callable)
poezio/core/core.py:1084:8: E1102: self.tabs.prev is not callable (not-callable)
************* Module poezio.core.tabs
poezio/core/tabs.py:297:12: E1102: self.prev is not callable (not-callable)
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1