diff --git a/requirements_test.txt b/requirements_test.txt
index d56a7085c7494580c2bc2464608d33a6a9b78088..34506f5c40eb2aea5858693128f1bf7f6aa8e7a1 100644
--- a/requirements_test.txt
+++ b/requirements_test.txt
@@ -1,17 +1,17 @@
 # linters such as flake8 and pylint should be pinned, as new releases
 # make new things fail. Manually update these pins when pulling in a
 # new version
+asynctest>=0.11.1
+coveralls==1.2.0
+flake8-docstrings==1.0.3
 flake8==3.5
-pylint==1.8.2
-mypy==0.560
+mock-open==1.3.1
+mypy==0.570
 pydocstyle==1.1.1
-coveralls==1.2.0
-pytest==3.3.1
+pylint==1.8.2
 pytest-aiohttp==0.3.0
 pytest-cov==2.5.1
-pytest-timeout>=1.2.1
 pytest-sugar==0.9.0
+pytest-timeout>=1.2.1
+pytest==3.3.1
 requests_mock==1.4
-mock-open==1.3.1
-flake8-docstrings==1.0.3
-asynctest>=0.11.1
diff --git a/requirements_test_all.txt b/requirements_test_all.txt
index 460e70cbca5ac349e9431047a30ffc074d6e76d7..2f4768fd90b2fea449b5903f3d5afb32c0cfb86f 100644
--- a/requirements_test_all.txt
+++ b/requirements_test_all.txt
@@ -2,20 +2,20 @@
 # linters such as flake8 and pylint should be pinned, as new releases
 # make new things fail. Manually update these pins when pulling in a
 # new version
+asynctest>=0.11.1
+coveralls==1.2.0
+flake8-docstrings==1.0.3
 flake8==3.5
-pylint==1.8.2
-mypy==0.560
+mock-open==1.3.1
+mypy==0.570
 pydocstyle==1.1.1
-coveralls==1.2.0
-pytest==3.3.1
+pylint==1.8.2
 pytest-aiohttp==0.3.0
 pytest-cov==2.5.1
-pytest-timeout>=1.2.1
 pytest-sugar==0.9.0
+pytest-timeout>=1.2.1
+pytest==3.3.1
 requests_mock==1.4
-mock-open==1.3.1
-flake8-docstrings==1.0.3
-asynctest>=0.11.1
 
 
 # homeassistant.components.homekit