Franck Nijhof
fb682665e2
Upgrade pylint to 2.8.3 ( #51308 )
2021-06-01 08:48:53 +02:00
Franck Nijhof
9a208e3761
Upgrade pre-commit to 2.13.0 ( #51068 )
2021-05-25 15:51:42 +02:00
Franck Nijhof
de77e0be8c
Upgrade pylint to 2.8.2 ( #50669 )
2021-05-15 19:41:17 +02:00
Franck Nijhof
041838bdd7
Upgrade requests-mock to 1.9.2 ( #50377 )
2021-05-09 16:30:03 -05:00
Franck Nijhof
13ba4d7572
Upgrade pytest to 6.2.4 ( #50077 )
2021-05-04 20:43:41 +02:00
Franck Nijhof
98b305285f
Upgrade pytest-xdist to 2.2.1 ( #49904 )
2021-04-30 14:35:30 +02:00
J. Nick Koston
dcb5b9f8b5
Bump httpx to 0.18.0 and respx to 0.17.0 ( #49805 )
2021-04-28 11:22:09 +02:00
Marc Mueller
f1d48ddfe3
Update pylint to 2.8.0 ( #49637 )
2021-04-24 14:39:24 -10:00
Franck Nijhof
7f29d028a3
Upgrade pre-commit to 2.12.1 ( #49331 )
2021-04-16 21:19:02 -10:00
Franck Nijhof
06381f5619
Upgrade pre-commit to 2.12.0 ( #48731 )
2021-04-07 10:40:53 +02:00
Franck Nijhof
1876e84d71
Upgrade pytest to 6.2.3 ( #48672 )
2021-04-04 13:06:49 +02:00
Marc Mueller
ee55657ae9
Update pylint to 2.7.4 ( #48500 )
2021-03-30 12:23:59 +02:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 ( #48488 )
...
* Update pylint to 2.7.3
* Add class-const-naming-style
* Remove unused-import message
* Additional cleanup
2021-03-29 18:02:56 -10:00
Franck Nijhof
b7ad5ff032
Upgrade pre-commit to 2.11.1 ( #48219 )
2021-03-22 13:11:06 +01:00
Franck Nijhof
d37fb7d88d
Upgrade pre-commit to 2.11.0 ( #47618 )
2021-03-08 13:03:39 +01:00
Franck Nijhof
93d4e46bb6
Upgrade coverage to 5.5 ( #47227 )
2021-03-01 15:37:03 +01:00
Marc Mueller
16dcbf1467
Update pylint ( #47205 )
2021-02-28 22:09:01 -10:00
Franck Nijhof
23c2bd4e69
Upgrade mypy to 0.812 ( #46898 )
2021-02-22 12:44:40 +01:00
Franck Nijhof
48808978c4
Upgrade pre-commit to 2.10.1 ( #46211 )
2021-02-08 15:05:11 +01:00
Joakim Sørensen
06e6005fbb
Add warning to custom integrations without version ( #45919 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-02-04 09:59:41 +01:00
Joakim Sørensen
374817fbaa
Bump awesomeversion from 21.1.6 to 21.2.0 ( #45821 )
2021-02-01 16:54:25 +01:00
Franck Nijhof
c74ddf4720
Upgrade pre-commit to 2.10.0 ( #45777 )
2021-01-31 08:00:49 -10:00
Ville Skyttä
d13b58a4e6
Upgrade mypy to 0.800 ( #45485 )
...
* Upgrade mypy to 0.800
https://mypy-lang.blogspot.com/2021/01/mypy-0800-released.html
* Fix issues flagged by mypy 0.800
* Add overloads + small changes
* Apply grammar
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-30 22:33:53 +01:00
Joakim Sørensen
0964393002
Bump awesomeversion from 21.1.3 to 21.1.6 ( #45738 )
2021-01-30 14:09:16 +01:00
Franck Nijhof
7816eccee7
Upgrade coverage to 5.4 ( #45570 )
2021-01-26 19:20:42 +01:00
Franck Nijhof
21d23a6f94
Upgrade pytest to 6.2.2 ( #45572 )
2021-01-26 19:20:28 +01:00
Joakim Sørensen
edfb8c3423
Add version to hassfest for custom integrations ( #45523 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-01-25 13:31:14 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Franck Nijhof
70d2c37131
Upgrade pre-commit to 2.9.3 ( #44740 )
2021-01-01 18:10:28 +01:00
Jonas Lundberg
a5279cc279
Upgrade respx to 0.16.2 ( #43892 )
...
* Bump respx to 0.16.2
* Align sensor tests to use new respx mock api
2020-12-04 04:27:25 +01:00
Franck Nijhof
deb45f7c90
Upgrade pre-commit to 2.9.2 ( #43655 )
2020-11-26 22:34:17 +01:00
Franck Nijhof
9d650245ee
Upgrade pytest to 6.1.2 ( #40662 )
...
* Upgrade pytest to 6.1.0
* Upgrade pytest to 6.1.2
2020-11-07 12:39:37 +01:00
Franck Nijhof
4e1b7583e0
Upgrade pre-commit to 2.8.2 ( #42757 )
2020-11-02 23:46:04 +01:00
J. Nick Koston
ad6ce5fa83
Convert rest sensors to async using httpx ( #41973 )
2020-10-16 19:21:13 -05:00
Ville Skyttä
f28c3273c2
Upgrade mypy to 0.790 ( #41595 )
2020-10-12 19:17:30 -05:00
Franck Nijhof
0c7d8ce704
Upgrade codecov to 2.1.10 ( #41562 )
2020-10-09 18:27:26 +02:00
Franck Nijhof
25bfaf6c0d
Upgrade tqdm to 4.49.0 ( #40573 )
2020-09-25 14:29:27 +02:00
Franck Nijhof
b116e58620
Upgrade pytest-xdist to 2.1.0 ( #40057 )
2020-09-15 16:28:51 +02:00
Franck Nijhof
5d0fa1417e
Upgrade pytest to 6.0.2 ( #39959 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-15 10:09:56 +02:00
Franck Nijhof
bda66d1929
Upgrade coverage to 5.3.0 ( #40056 )
2020-09-14 08:34:18 +02:00
Franck Nijhof
6751a38b8e
Upgrade responses to 0.12.0 ( #39986 )
2020-09-12 19:40:10 +02:00
Franck Nijhof
18e9e262e4
Upgrade pytest-timeout to 1.4.2 ( #39983 )
2020-09-12 19:33:44 +02:00
Franck Nijhof
e746965b1c
Upgrade mypy to 0.782 ( #39967 )
2020-09-12 11:31:22 +02:00
Franck Nijhof
3dda76115c
Upgrade pytest-sugar to 0.9.4 ( #39966 )
2020-09-12 11:30:41 +02:00
Franck Nijhof
ee6945d63d
Upgrade pytest-cov to 2.10.1 ( #39964 )
2020-09-12 09:39:08 +02:00
Franck Nijhof
824f551969
Upgrade codecov to 2.1.9 ( #39960 )
2020-09-12 09:08:04 +02:00
Tom
bb9ea7ce6e
Add tests for Plugwise integration ( #36371 )
2020-09-08 08:37:44 +02:00
Martin Hjelmare
8eed7110a1
Add hassfest requirements validation ( #39329 )
2020-09-06 23:41:41 +02:00
Ville Skyttä
1bf2c4d976
Upgrade pylint to 2.6.0 ( #39363 )
2020-08-29 07:59:24 +02:00
Franck Nijhof
46ab5ab38e
Upgrade pre-commit to 2.7.1 ( #39206 )
2020-08-24 12:47:55 +02:00
Franck Nijhof
f757e258a7
Upgrade pre-commit to 2.7.0 ( #39180 )
2020-08-23 12:40:51 -04:00
Franck Nijhof
84df0efb5e
Upgrade coverage to 5.2.1 ( #38158 )
2020-07-24 17:03:10 +02:00
Paulus Schoutsen
0bcc8624b7
Reference constraint files from requirement files ( #37751 )
...
* Reference constraint files from requirement files
* Update azure-pipelines-wheels.yml
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2020-07-11 06:20:14 -07:00
Franck Nijhof
0f5d300db4
Upgrade coverage to 5.2 ( #37598 )
2020-07-07 09:32:19 -05:00
Franck Nijhof
573134fcb4
Add GitHub Actions for CI ( #37419 )
...
* Add GitHub Actions for CI
* Add base/full to step descriptions
2020-07-03 19:18:01 +02:00
Franck Nijhof
4679e670f1
Upgrade pre-commit to 2.6.0 ( #37339 )
2020-07-02 13:47:09 -05:00
Franck Nijhof
785786ecd1
Upgrade pytest-cov to 2.10.0 ( #36720 )
2020-06-13 02:37:59 +02:00
Franck Nijhof
8d405c4585
Upgrade pre-commit to 2.5.1 ( #36623 )
2020-06-10 15:22:42 +02:00
Franck Nijhof
854bdfb6f2
Upgrade pre-commit to 2.5.0 ( #36596 )
2020-06-09 18:44:22 +02:00
Ville Skyttä
fc395de511
Upgrade mypy to 0.780 ( #36416 )
...
http://mypy-lang.blogspot.com/2020/06/mypy-0780-released.html
2020-06-03 22:51:44 +02:00
Franck Nijhof
1771fbbd34
Upgrade pytest to 5.4.3 ( #36385 )
2020-06-02 21:26:31 +02:00
Martin Hjelmare
8970fd8a56
Bump codecov to 2.1.0 ( #35808 )
...
* Bump codecov to 2.1.0
* Try to invalidate cache
2020-05-19 13:08:36 -04:00
Franck Nijhof
2d43698958
Upgrade pre-commit to 2.4.0 ( #35520 )
2020-05-11 20:00:08 -04:00
Franck Nijhof
0ac95fbed3
Upgrade pytest to 5.4.2 ( #35381 )
2020-05-08 19:34:19 +02:00
Franck Nijhof
9efca0079c
Upgrades requests-mock to 1.8.0 ( #35093 )
2020-05-02 17:09:44 -07:00
Franck Nijhof
a643d6cd3e
Upgrade pytest to 5.4.1 ( #34739 )
2020-04-26 22:54:39 -07:00
Franck Nijhof
de3f0c788c
Upgrade pytest-timeout to v1.3.4 ( #34609 )
2020-04-26 13:56:59 -07:00
Franck Nijhof
22fdccba02
Upgrade pytest-sugar to 0.9.3 ( #34726 )
2020-04-26 13:54:19 -07:00
Franck Nijhof
e9c5f3e74a
Upgrade codecov to 2.0.22 ( #34607 )
2020-04-23 14:05:05 -07:00
Franck Nijhof
5a9ee9bd6c
Upgrade mock-open to 1.4.0 ( #34606 )
2020-04-23 13:00:28 -07:00
Franck Nijhof
0869d209d7
Upgrade pre-commit to 2.3.0 ( #34604 )
2020-04-23 12:33:15 -07:00
Franck Nijhof
00d5e5cfb2
Upgrade pre-commit to 2.2.0 ( #32737 )
2020-03-12 14:44:14 -07:00
Ville Skyttä
221d5205e4
Upgrade mypy to 0.770, tighten config a bit ( #32715 )
...
* Upgrade mypy to 0.770, related cleanups
https://mypy-lang.blogspot.com/2020/03/mypy-0770-released.html
* Clean up config and make it a notch stricter, address findings
2020-03-12 11:52:20 +01:00
Franck Nijhof
c98f50115d
Upgrade pre-commit to 2.1.1 ( #32159 )
2020-02-25 02:16:23 +01:00
Franck Nijhof
4ed7a7f2e0
Upgrade pre-commit to 2.1.0 ( #31962 )
2020-02-18 13:25:26 -08:00
Franck Nijhof
611127a6bc
Bump pytest to 5.3.5 ( #31327 )
2020-01-31 00:04:59 +01:00
Franck Nijhof
981d963554
Upgrade pre-commit to 2.0.1 ( #31308 )
2020-01-30 13:08:37 +01:00
Franck Nijhof
c2f1d6aa19
Upgrade pre-commit to 2.0.0 ( #31267 )
2020-01-29 12:04:25 +01:00
Ville Skyttä
9795449d22
Make pylint fail on informational messages too ( #31136 )
...
Refs https://github.com/PyCQA/pylint/issues/3250
2020-01-24 23:27:15 +02:00
Franck Nijhof
e8e7e66e2b
Bump pytest to 5.3.4 ( #31045 )
2020-01-21 15:44:39 -05:00
Franck Nijhof
24d5e54eed
Bump pre-commit to 1.21.0 ( #30406 )
2020-01-02 14:16:58 -06:00
Ville Skyttä
ecdc1adf90
Upgrade mypy to 0.761 ( #30104 )
...
https://mypy-lang.blogspot.com/2019/12/mypy-0760-released.html
https://github.com/python/mypy/releases/tag/v0.761
2019-12-20 22:35:02 +01:00
Franck Nijhof
d1e59b20c8
Bump pytest to 5.3.2 ( #29990 )
2019-12-16 10:59:32 +01:00
Franck Nijhof
e2a9c652ab
Bump pytest to 5.3.1 ( #29535 )
2019-12-06 09:08:06 +01:00
Ville Skyttä
9927f6c17d
Upgrade mypy to 0.750 ( #29294 )
...
https://mypy-lang.blogspot.com/2019/11/mypy-0.html
2019-12-01 17:58:26 +01:00
Franck Nijhof
6db4e975e3
Bump pytest to 5.3.0 ( #28883 )
2019-11-19 20:51:25 -05:00
Ville Skyttä
2aee366a1f
Upgrade pylint, tweak config ( #28798 )
...
* Upgrade pylint to 2.4.4 and astroid to 2.3.3
https://pylint.readthedocs.io/en/latest/whatsnew/changelog.html#what-s-new-in-pylint-2-4-4
https://github.com/PyCQA/astroid/blob/astroid-2.3.3/ChangeLog
* Disable pylint score and persistence
We don't use scoring, and it can be supposedly incorrect (so worse
than ignorable) when using more than one parallel job.
2019-11-16 09:59:26 +01:00
cgtobi
806b96ef73
Bump pytest to 5.2.3 ( #28785 )
2019-11-15 05:14:46 +01:00
Ville Skyttä
804b6bbc0e
Reduce test requirements duplication, sync flake8 and related ( #28538 )
...
* Generate pre-commit test dependencies instead of duplicating
* Upgrade/sync to flake8 3.7.9, flake8-docstrings 1.5.0, and pydocstyle 4.0.1
https://flake8.readthedocs.io/en/latest/release-notes/3.7.9.html
https://gitlab.com/pycqa/flake8-docstrings/blob/1.4.0/HISTORY.rst
https://gitlab.com/pycqa/flake8-docstrings/blob/1.5.0/HISTORY.rst
http://www.pydocstyle.org/en/4.0.1/release_notes.html
* Include requirements_test.txt from *_all.txt instead of copying
2019-11-04 21:21:52 -08:00
Ville Skyttä
a8dff2f2d0
pre-commit: ship default and full configs ( #28463 )
...
For now, the only difference between the two is mypy.
2019-11-02 12:21:09 -07:00
cgtobi
1dfb67f0c5
Bump pytest to 5.2.2 ( #28230 )
2019-10-29 15:16:05 -04:00
Franck Nijhof
4dc6d36224
Bump pre-commit to 1.20.0 ( #28313 )
2019-10-29 09:37:18 +01:00
Franck Nijhof
04ab20846a
Bump black to 19.10b0 ( #28310 )
2019-10-28 23:32:34 -07:00
Robert Van Gorkom
15bedd8f27
Use latest withings_api module ( #27817 )
...
* Using latest winthings_api module.
Drastically reduced complexity of tests.
* Removing import source.
* Fixing test requirements.
* Using requests_mock instead of responses module.
* Updating file formatting.
* Removing unused method.
* Adding support for new OAuth2 config flow.
* Addressing PR feedback.
Removing unecessary base_url from config, this is a potential breaking change.
* Addressing PR feedback.
2019-10-24 09:41:04 -07:00
Ville Skyttä
381d423fec
Upgrade mypy to 0.740 ( #27913 )
...
* Upgrade mypy to 0.740
http://mypy-lang.blogspot.com/2019/10/mypy-0740-released.html
* Type hint additions
* Type fixes
* Remove no longer needed type ignores and casts
* Disable untyped definition checks in bunch of files
2019-10-19 11:35:57 -07:00
Ville Skyttä
1ec01b5e6c
Upgrade pylint to 2.4.3 and astroid to 2.3.2 ( #27912 )
...
https://pylint.readthedocs.io/en/latest/whatsnew/changelog.html#what-s-new-in-pylint-2-4-3
2019-10-19 12:03:52 +02:00
Ville Skyttä
5e79408708
Upgrade to flake8-docstrings 1.5.0, pytest 5.2.1, and pytest-cov 2.8.1 ( #27588 )
...
https://gitlab.com/pycqa/flake8-docstrings/blob/1.5.0/HISTORY.rst
https://docs.pytest.org/en/latest/changelog.html#pytest-5-2-1-2019-10-06
https://pytest-cov.readthedocs.io/en/latest/changelog.html#id1
2019-10-13 22:27:42 +02:00
Ville Skyttä
761d7f21e9
Upgrade pylint ( #27279 )
...
* Upgrade pylint to 2.4.2 and astroid to 2.3.1
https://pylint.readthedocs.io/en/latest/whatsnew/2.4.html
https://pylint.readthedocs.io/en/latest/whatsnew/changelog.html#what-s-new-in-pylint-2-4-1
https://pylint.readthedocs.io/en/latest/whatsnew/changelog.html#what-s-new-in-pylint-2-4-2
* unnecessary-comprehension fixes
* invalid-name fixes
* self-assigning-variable fixes
* Re-enable not-an-iterable
* used-before-assignment fix
* invalid-overridden-method fixes
* undefined-variable __class__ workarounds
https://github.com/PyCQA/pylint/issues/3090
* no-member false positive disabling
* Remove some no longer needed disables
* using-constant-test fix
* Disable import-outside-toplevel for now
* Disable some apparent no-value-for-parameter false positives
* invalid-overridden-method false positive disables
https://github.com/PyCQA/pylint/issues/3150
* Fix unintentional Entity.force_update override in AfterShipSensor
2019-10-07 08:17:39 -07:00
Ville Skyttä
52bbb6242c
Upgrade pytest to 5.2.0 ( #27058 )
...
https://docs.pytest.org/en/latest/changelog.html#pytest-5-2-0-2019-09-28
2019-09-29 23:00:39 +02:00
Ville Skyttä
fde128d66c
Upgrade mypy to 0.730, address raised issues ( #26959 )
...
https://mypy-lang.blogspot.com/2019/09/mypy-730-released.html
2019-09-27 22:57:59 +03:00
Paulus Schoutsen
51a090cfdc
Fix CI
2019-09-24 20:47:24 -07:00
Franck Nijhof
4f7a4b93da
Bump request_mock to 1.7.0 ( #26799 )
2019-09-22 11:02:23 +03:00
Franck Nijhof
6bdfab1124
Bump pytest to 5.1.3 ( #26794 )
2019-09-22 10:56:43 +03:00
Franck Nijhof
44cde5fb73
Bumps pre-commit to 1.18.3 ( #26717 )
2019-09-19 20:50:45 +02:00
Franck Nijhof
468deef326
Bumps pytest to 5.1.2 ( #26718 )
2019-09-19 20:02:21 +02:00
Ville Skyttä
e033e46161
Remove coveralls test dependency ( #26110 )
...
Outdated and unused.
2019-08-21 19:49:46 +03:00
Ville Skyttä
48e9e53f66
Upgrade pytest to 5.1.1 ( #26112 )
...
https://docs.pytest.org/en/latest/changelog.html#pytest-5-1-0-2019-08-15
https://docs.pytest.org/en/latest/changelog.html#pytest-5-1-1-2019-08-20
2019-08-21 19:49:25 +03:00
Ville Skyttä
8f044cf52f
Upgrade pydocstyle to 4.0.1 ( #26111 )
...
https://github.com/PyCQA/pydocstyle/blob/4.0.1/docs/release_notes.rst#401---august-14th-2019
2019-08-21 19:48:46 +03:00
Ville Skyttä
fed789c770
Upgrade pre-commit to 1.18.2 ( #26029 )
...
https://github.com/pre-commit/pre-commit/blob/v1.18.2/CHANGELOG.md
2019-08-17 16:47:55 -06:00
Ville Skyttä
49a5dda7a8
Upgrade pydocstyle to 4.0.0, do not run in tox ( #25667 )
...
* Upgrade pydocstyle to 4.0.0 and flake8-docstrings to 1.3.1
http://www.pydocstyle.org/en/4.0.0/release_notes.html#july-6th-2019
* Address pydocstyle D413's
* tox: do not run pydocstyle
Does not seem to add any value over flake8-docstrings (and would have
needed a D202 exclusion).
2019-08-04 17:05:43 +02:00
Paulus Schoutsen
da05dfe708
Add Black
2019-07-31 12:23:23 -07:00
Ville Skyttä
56841da2d3
Upgrade mypy to 0.720, turn on unreachability warnings ( #25157 )
...
* Upgrade mypy to 0.720
* Turn on mypy unreachability warnings, address raised issues
2019-07-16 15:11:38 -07:00
Ville Skyttä
59f6fd7630
Upgrade flake8 to 3.7.8 ( #25120 )
...
http://flake8.pycqa.org/en/latest/release-notes/3.7.8.html
2019-07-13 09:32:08 +02:00
Ville Skyttä
b834671555
Test dependency updates ( #25004 )
...
* Upgrade pytest to 5.0.1
https://docs.pytest.org/en/latest/changelog.html#pytest-5-0-1-2019-07-04
* Upgrade asynctest to 0.13.0
* Upgrade requests_mock to 1.6.0
2019-07-07 12:30:31 +02:00
Ville Skyttä
e8a5306c23
Upgrade mypy to 0.711, drop no longer needed workarounds ( #24998 )
...
https://mypy-lang.blogspot.com/2019/06/mypy-0711-released.html
2019-07-07 03:58:33 +02:00
Daniel Høyer Iversen
3d2f843c1d
Upgrade pytest to 5.0.0 ( #24885 )
...
* Upgrade pytest to 5.0.0
* exception message for pytest 5
2019-07-01 10:47:42 -04:00
Ville Skyttä
71346760d0
Upgrade pytest to 4.6.3 ( #24782 )
...
* Upgrade pytest to 4.6.3
https://docs.pytest.org/en/latest/changelog.html#pytest-4-6-2-2019-06-03
https://docs.pytest.org/en/latest/changelog.html#pytest-4-6-3-2019-06-11
* Make litejet switch test work with pytest 4.6.3
Essentially reverts the corresponing change that was made for pytest
4.2 compatibility.
2019-06-26 20:01:03 -07:00
Ville Skyttä
a6eef22fbc
Upgrade mypy to 0.710 ( #24666 )
...
* Upgrade mypy to 0.710
* Address mypy 0.710 errors
2019-06-22 10:19:36 +03:00
Ville Skyttä
bf9c2c74fa
Upgrade pytest and -cov ( #24258 )
...
* Upgrade pytest to 4.5.0
https://docs.pytest.org/en/latest/changelog.html#pytest-4-5-0-2019-05-11
https://docs.pytest.org/en/latest/changelog.html#pytest-4-4-2-2019-05-08
* Upgrade pytest to 4.6.0
https://docs.pytest.org/en/latest/changelog.html#pytest-4-6-0-2019-05-31
* Upgrade pytest-cov to 2.7.1
https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst#271-2019-05-03
https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst#270-2019-05-03
* Upgrade pytest to 4.6.1
https://docs.pytest.org/en/latest/changelog.html#pytest-4-6-1-2019-06-02
2019-06-05 11:09:23 +02:00
Ville Skyttä
f434e24252
Upgrade mypy ( #23586 )
...
* Upgrade mypy to 0.701
* Enable strict equality checks
* Strict equality error fixes
* StateMachine.is_state docstring fix
2019-05-02 21:18:20 +03:00
Ville Skyttä
b79d71065c
Upgrade pytest to 4.4.1 ( #23584 )
2019-05-02 21:17:36 +03:00
Ville Skyttä
7058249c01
Uprade asynctest to 0.12.3 ( #22824 )
2019-04-10 11:17:02 +02:00
Ville Skyttä
fa8a4de019
Upgrade pytest to 4.4.0 ( #22822 )
2019-04-10 11:16:52 +02:00
Jason Hu
7646dc00e0
Add codecov ( #22649 )
2019-04-01 20:31:05 -07:00
Ville Skyttä
b4f8d157d6
Upgrade pytest to 4.3.1 ( #22088 )
2019-03-16 08:13:45 +01:00
Ville Skyttä
2812483193
Upgrade pylint to 2.3.1 ( #21789 )
2019-03-08 09:13:35 +02:00
Daniel Høyer Iversen
519315f9c8
pylint 2.3.0 ( #21485 )
...
* pylint 2.3.0
* remove const
* disable=syntax-error
2019-02-27 16:10:40 -05:00
Ville Skyttä
beb86426e4
Upgrade flake8 to 3.7.7 ( #21452 )
2019-02-26 10:47:57 -08:00
Ville Skyttä
619ea3ff98
Upgrade mypy to 0.670 ( #20934 )
2019-02-25 07:54:54 +02:00
Ville Skyttä
dd5fc0a1da
Upgrade pytest to 4.3.0 ( #21412 )
2019-02-25 07:36:57 +02:00
Ville Skyttä
816364bfd9
Upgrade pytest to 4.2.1 ( #21112 )
...
* Upgrade pytest to 4.2.0
* Upgrade pytest to 4.2.1
* Make litejet switch test work with pytest 4.2
2019-02-17 09:55:33 +01:00
Ville Skyttä
876e2a0a11
Upgrade mypy to 0.660 ( #20873 )
2019-02-09 08:32:14 +02:00
Daniel Høyer Iversen
ef6b0b8e0b
Update flake8 to 3.7.5 ( #20761 )
...
* Upgrade flake8
* Upgrade flake8
* Add noqa for hound
2019-02-05 11:12:09 +01:00
Ville Skyttä
eb610e6093
Upgrade pytest to 4.1.1 ( #20088 )
2019-01-14 10:05:24 +02:00
Ville Skyttä
162e2b8385
Upgrade pytest to 4.1.0 ( #20013 )
2019-01-13 08:56:26 +01:00
Ville Skyttä
574669bd20
Upgrade pytest-cov to 2.6.1 ( #19988 )
2019-01-11 16:24:59 -08:00
Ville Skyttä
c545d2e22e
Upgrade pydocstyle to 3.0.0 ( #19328 )
2018-12-15 21:11:28 +02:00
Ville Skyttä
06383a4383
Upgrade pytest to 4.0.2 ( #19327 )
2018-12-15 21:10:55 +02:00
Ville Skyttä
7d3a962f73
Upgrade mypy to 0.650 ( #19150 )
...
* Upgrade to 0.650
* Remove no longer needed type: ignore
2018-12-09 21:22:08 +02:00
Ville Skyttä
1be440a72b
Upgrade pylint to 2.2.2 ( #18750 )
...
* Upgrade to 2.2.0
* simplifiable-if-expression fixes
* duplicate-string-formatting-argument fixes
* unused-import fixes
* Upgrade to 2.2.1
* Remove no longer needed disable
* Upgrade to 2.2.2
2018-12-06 11:54:44 +01:00
Ville Skyttä
b4e2f2a6ef
Upgrade pytest and -timeout ( #18722 )
...
* Upgrade pytest to 4.0.1
* Upgrade pytest-timeout to 1.3.3
2018-11-26 22:43:14 +01:00
Ville Skyttä
dfb8f60fe2
Upgrade pytest and pytest-cov ( #18542 )
...
* Upgrade pytest to 4.0.0
* Upgrade pytest-cov to 2.6.0
2018-11-18 09:33:01 +01:00
Ville Skyttä
f236e14bd6
Upgrade pytest and pytest-sugar ( #18338 )
...
* Upgrade pytest to 3.10.0
* Upgrade pytest-sugar to 0.9.2
2018-11-10 21:08:32 +01:00
Ville Skyttä
3e6de21302
Upgrade pytest to 3.9.3 ( #17921 )
2018-10-29 07:02:34 +01:00
Ville Skyttä
43048962f2
Upgrade flake8 to 3.6.0 ( #17770 )
...
* Upgrade flake8 to 3.6.0
* flake8/pylint comment tweaks
* flake8 F841 fixes
* flake8 W605 fix
* Ignore pyflakes bug #373 false positives
https://github.com/PyCQA/pyflakes/issues/373
* pycodestyle bug #811 workaround
https://github.com/PyCQA/pycodestyle/issues/811
2018-10-25 23:15:20 +03:00
Ville Skyttä
2734a30f37
Upgrade mypy to 0.641 ( #17734 )
2018-10-23 21:06:58 +02:00
Ville Skyttä
65a8882426
Upgrade pytest to 3.9.2 ( #17736 )
2018-10-23 21:06:37 +02:00
Ville Skyttä
cf3a97ff3c
Upgrade pytest to 3.9.1 ( #17598 )
2018-10-18 21:31:52 +02:00
Ville Skyttä
abd329d707
Upgrade pytest to 3.8.2 ( #17125 )
2018-10-04 09:03:31 +02:00
Ville Skyttä
06d959ed43
Upgrade pytest to 3.8.1 ( #16980 )
2018-09-30 10:20:10 +02:00
Ville Skyttä
7f462ba0ec
Upgrade mypy to 0.630 ( #16674 )
2018-09-19 08:58:58 +02:00
Ville Skyttä
beed82ab12
Upgrade pytest to 3.8.0 and pytest-timeout to 1.3.2 ( #16489 )
2018-09-12 11:33:26 +02:00
Ville Skyttä
dd9d53c83e
Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0 ( #14557 )
...
* Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0
* Pydocstyle D401 fixes
2018-08-24 10:28:43 +02:00
Ville Skyttä
ef07460792
Upgrade pytest to 3.7.2 ( #16091 )
2018-08-21 10:56:28 +02:00
Fabian Affolter
b6bc0097b8
Upgrade requests_mock to 1.5.2 ( #15867 )
2018-08-07 16:12:16 +02:00
Fabian Affolter
1fb2ea70c2
Upgrade asynctest to 0.12.2 ( #15869 )
2018-08-07 16:11:47 +02:00
Ville Skyttä
4cbcb4c3a2
Upgrade pylint to 2.1.1 ( #15872 )
2018-08-07 16:09:19 +02:00
Fabian Affolter
cb20c9b1ea
Revert "Upgrade requests_mock to 1.5.2"
...
This reverts commit a7db2ebbe1
.
2018-08-07 09:02:54 +02:00
Fabian Affolter
a7db2ebbe1
Upgrade requests_mock to 1.5.2
2018-08-07 09:01:32 +02:00
Ville Skyttä
dbe44c076e
Upgrade pytest to 3.7.1 and pytest-timeout to 1.3.1 ( #15809 )
2018-08-04 15:22:37 +02:00
Ville Skyttä
3246b49a45
Upgrade pylint to 2.1.0 ( #15811 )
...
* Upgrade pylint to 2.1.0
* Remove no longer needed pylint disables
2018-08-04 15:22:22 +02:00
Ville Skyttä
eee9b50b70
Upgrade pylint to 2.0.1 ( #15683 )
...
* Upgrade pylint to 2.0.1
* Pylint 2 bad-whitespace fix
* Pylint 2 possibly-unused-variable fixes
* Pylint 2 try-except-raise fixes
* Disable pylint fixme for todoist for now
https://github.com/PyCQA/pylint/pull/2320
* Disable pylint 2 useless-return for now
https://github.com/PyCQA/pylint/issues/2300
* Disable pylint 2 invalid-name for type variables for now
https://github.com/PyCQA/pylint/issues/1290
* Disable pylint 2 not-an-iterable for now
https://github.com/PyCQA/pylint/issues/2311
* Pylint 2 unsubscriptable-object workarounds
* Disable intentional pylint 2 assignment-from-nones
* Disable pylint 2 unsupported-membership-test apparent false positives
* Disable pylint 2 assignment-from-no-return apparent false positives
* Disable pylint 2 comparison-with-callable false positives
https://github.com/PyCQA/pylint/issues/2306
2018-07-26 08:55:42 +02:00
Ville Skyttä
a38c0d6d15
Upgrade mypy to 0.620 ( #15612 )
2018-07-22 13:37:26 +02:00
Ville Skyttä
a6ba5ec1c8
upgrade-mypy ( #14904 )
...
* Upgrade mypy to 0.600
* Upgrade mypy to 0.610
* Typing improvements
* remove unneeded or
* remove merge artifact
* Update loader.py
2018-07-13 13:49:24 +02:00
Ville Skyttä
dabbd7bd63
Upgrade pytest to 3.6.3 ( #15332 )
2018-07-07 11:06:49 +02:00
Ville Skyttä
cfe7c0aa01
Upgrade pytest to 3.6.2 ( #15241 )
2018-07-01 10:40:23 +02:00
Paulus Schoutsen
b2440a6d95
Fix tests ( #14959 )
...
* Fix tests
* Lint
2018-06-14 11:57:09 -04:00
Ville Skyttä
cb646e48d0
Upgrade pylint to 1.9.2 ( #14916 )
2018-06-13 07:08:39 -04:00
Fabian Affolter
3ec56d55c5
Upgrade requests_mock to 1.5 ( #14444 )
2018-05-13 17:58:18 +02:00
Ville Skyttä
70af7e5fad
Update pylint to 1.8.4 ( #14421 )
2018-05-12 22:22:20 +02:00
Fabian Affolter
b0cccbfd9f
Upgrade mypy to 0.590 ( #14207 )
2018-05-01 14:14:28 -04:00
Ville Skyttä
0911166c9c
Update pylint to 1.8.3 ( #13544 )
2018-03-30 21:34:16 +02:00
Fabian Affolter
8bd5f66c57
Upgrade mypy to 0.580 ( #13420 )
2018-03-23 23:50:32 +01:00
Otto Winter
4c9e7c2da4
Upgrade pytest to 3.4.2 ( #13169 )
...
* Upgrade pytest to 3.4.2
* Upgrade pytest-sugar to 0.9.1
2018-03-13 13:57:04 -07:00
Fabian Affolter
54e0cc1304
Upgrade mypy to 0.570 ( #13128 )
2018-03-12 14:00:10 -07:00
Otto Winter
678f284015
Upgrade pylint to 1.8.2 ( #12274 )
...
* Upgrade pylint to 1.8.1
* Fix no-else-return
* Fix bad-whitespace
* Fix too-many-nested-blocks
* Fix raising-format-tuple
See https://github.com/PyCQA/pylint/blob/master/doc/whatsnew/1.8.rst
* Fix len-as-condition
* Fix logging-not-lazy
Not sure about that TEMP_CELSIUS though, but internally it's probably just like if you concatenated any other (variable) string
* Fix stop-iteration-return
* Fix useless-super-delegation
* Fix trailing-comma-tuple
Both of these seem to simply be bugs:
* Nest: The value of self._humidity never seems to be used anywhere
* Dovado: The called API method seems to expect a "normal" number
* Fix redefined-argument-from-local
* Fix consider-using-enumerate
* Fix wrong-import-order
* Fix arguments-differ
* Fix missed no-else-return
* Fix no-member and related
* Fix signatures-differ
* Revert "Upgrade pylint to 1.8.1"
This reverts commit af78aa00f125a7d34add97b9d50c14db48412211.
* Fix arguments-differ
* except for device_tracker
* Cleanup
* Fix test using positional argument
* Fix line too long
I forgot to run flake8 - shame on me... 🙃
* Fix bad-option-value for 1.6.5
* Fix arguments-differ for device_tracker
* Upgrade pylint to 1.8.2
* 👕 Fix missed no-member
2018-02-11 09:20:28 -08:00
Ville Skyttä
2cbab48e1b
Update flake8-docstrings to 1.0.3 ( #12136 )
2018-02-02 17:22:44 -08:00
Ville Skyttä
78a3c01f27
Flake8 35 ( #11972 )
...
* Upgrade flake8 to 3.5
* Fix flake8 bare except errors
* Make flake8 and pylint cooperate
2018-01-29 00:23:53 -08:00
cdce8p
cba55402b1
Improved test runtime ( #11553 )
...
* Remove redundent assert statements and cleanup
* Added 'get_date' function
* Replace 'freeze_time' with 'mock.patch'
* Tox in 185s (py35)
* Removed obsolete 'freeze_time' from test_updater
* Tox 162s (py35)
* Remove test requirement 'freezegun'
* Fixed flake8 errors
* Added 'mock.patch' for 'feedparser.parse'
* Made 'FUNCTION_PATH' a constant
* Remove debug statements.
2018-01-09 16:00:49 -08:00
Paulus Schoutsen
6e63a4ed8a
Fix broken tests ( #11395 )
...
* Do not leave remember the milk config file behind
* Fix exception in service causing service timeout
* Change max service timeout to 9 to catch services timing out
* Fix Google Sync service test
* Update and pin test requirements
2018-01-01 14:30:09 -08:00
Fabian Affolter
1f8acb49bc
Upgrade mypy to 0.560 ( #11334 )
2017-12-29 10:07:25 +01:00
Fabian Affolter
e20fd3b973
Upgrade mypy to 0.550 ( #10591 )
2017-11-15 22:35:18 -08:00
Fabian Affolter
816b69c807
Upgrade mypy to 0.540 ( #10013 )
2017-10-22 00:45:40 -07:00
Fabian Affolter
931f4d8161
Upgrade mypy to 0.521 ( #8692 )
2017-07-28 23:22:56 -07:00
Fabian Affolter
486bcc4cae
Upgrade mypy to 0.520 ( #8616 )
2017-07-23 20:20:38 +02:00
Fabian Affolter
a7277db4d7
Upgrade mypy to 0.511 ( #7809 )
...
Add an optional extended description…
2017-05-29 15:39:24 +02:00
Paulus Schoutsen
e68bd0457c
Fix more deprecation warnings ( #7778 )
...
* Remove setting up an hbmqtt broker
* Don't pass loop to web.Application in tests
* Use .query instead of deprecated .GET for aiohttp requests
* Fix closing file resource
* Do not use asyncio mark
* Notify.html5 - PyJWT: Use options to disable verify
* Yamaha: Test was still using deprecated ip
* Remove pytest-asyncio
2017-05-26 13:12:17 -07:00
Fabian Affolter
921760f8c1
Upgrade mypy to 0.501 (was renamed from mypy-lang) ( #7117 )
2017-04-19 14:34:23 +02:00
Wolf-Bastian Pöttner
509cfb6433
Added workday sensor ( #6599 )
...
* Added workday sensor
* Added unit tests
2017-03-15 23:46:13 -07:00
Andrey
c5a8372f13
Update flake8 and pylint to latest ( #6217 )
2017-02-25 09:44:22 +01:00
Johan Bloemberg
915a91dc1b
DSMR: TCP, reconnecting and V4 CRC support ( #5164 )
...
* Add support for TCP connection.
* Implement reconnect logic.
* Actually register connect loop task and fix error handling.
* Fix lint, configure upstream requirement.
* Revert debug logging.
* Explicitly catch connection errors.
* Test reconnect on setup and reconnect after disconnect.
* Style.
2017-01-16 23:56:00 -08:00
Magnus Ihse Bursie
d8ff22870a
Include flake8-docstrings to test requirements to better mimic tox -e lint ( #4926 )
2016-12-28 07:26:27 +02:00
Paulus Schoutsen
914a868fbd
Add websocket API ( #4582 )
...
* Add websocket API
* Add identifiers to interactions
* Allow unsubscribing event listeners
* Add support for fetching data
* Clean up handling code websockets api
* Lint
* Add Home Assistant version to auth messages
* Py.test be less verbose in tox
2016-11-26 18:23:28 -08:00
Lewis Juggins
95b439fbd5
Upgrade aiohttp to 1.1.5 ( #4213 )
2016-11-24 21:37:56 -08:00
Paulus Schoutsen
d2bbc6ef70
Upgrade linter ( #4461 )
2016-11-18 21:47:59 -08:00
Sean Dague
7bf5d1c662
Pin versions on linters for tests
...
The linters really need to specify an exact version, because when
either flake8 or pylint release a new version, a whole lot of new
issues are caught, causing failures on the code unrelated to the
patches being pushed.
Pinning is a best practice for linters. This allows patches which move
forward the linter version to happen with any code fixes required for
it to pass.
2016-11-14 13:50:27 -05:00
Paulus Schoutsen
519d9f2fd0
async HTTP component ( #3914 )
...
* Migrate WSGI to asyncio
* Rename wsgi -> http
* Python 3.4 compat
* Move linting to Python 3.4
* lint
* Lint
* Fix Python 3.4 mock_open + binary data
* Surpress logging aiohttp.access
* Spelling
* Sending files is a coroutine
* More callback annotations and naming fixes
* Fix ios
2016-10-23 23:48:01 -07:00
Paulus Schoutsen
be68fe0d85
Move worker pool monitoring to be time based instead of add_job based. ( #3439 )
...
* Move worker pool monitoring to be time based instead of add_job based.
* Stub out worker pool monitor during tests
* Add test for monitor worker pool.
* Improve naming
* Test stop_monitor coroutine
* Add async_create_timer test
* Finish rename create_timer
2016-09-19 23:39:49 -07:00
Paulus Schoutsen
f802d6bfa3
Update test packages ( #2918 )
2016-08-21 11:44:40 -07:00
Fabian Heredia Montiel
ae97218582
Improvement typing core ( #2624 )
...
* Add package typing
* Add util/location typing
* FIX: lint wrong order of imports
* Fix sometyping and add helpers/entity typing
* Mypy import trick
* Add asteroid to test requiremts to fix pylint issue
* Fix deprecated function isSet for is_set
* Add loader.py typing
* Improve typing bootstrap
2016-07-27 20:33:49 -07:00