Ville Skyttä and Pascal Vizeli
d4c80f160c
Add bandit, use to catch known vulnerable XML parsing ( #28341 )
...
* Add bandit to pre-commit and CI, use to catch known vulnerable XML parsing
* Use defusedxml instead of direct xml.etree to parse XML
* Move config to tests/bandit.yaml
2019-11-18 09:10:15 +01:00
Ville Skyttä and Fabian Affolter
d88ca0f5cb
Lint exclusions ( #28655 )
...
* Remove malformed pylint disable markers
* Remove some unused imports
* Remove some unneeded lint exclusions
* Remove more unneeded lint exclusions
* Add specific codes to all noqa's
2019-11-16 10:22:07 +01:00
Ville Skyttä and Fabian Affolter
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
Ville Skyttä and Fabian Affolter
a48d426f18
Travis and tox config improvements ( #28667 )
...
* Use travis_wait only with pylint
pylint is the only job that is expected to be silent for extended time.
For others such a silence is a sign of a problem and using travis_wait
just lengthens the wait, and makes things harder to follow and debug,
because it also suppresses output in the web UI.
* Use pytest-xdist in tox
Similarly as in Azure.
2019-11-13 08:50:35 +01:00
Ville Skyttä and Martin Hjelmare
4f56f4e7e9
Add Huawei LTE device registry support ( #28594 )
2019-11-08 09:19:59 +01:00
Ville Skyttä and GitHub
bb37bc32e3
Always run flake8 through pre-commit, and with doctests ( #28490 )
...
* Enable flake8 doctests everywhere
* Always run flake8 through pre-commit
2019-11-06 21:38:00 +02:00
Ville Skyttä and Paulus Schoutsen
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
6a7b5657ac
Support Huawei LTE SSDP discovery ( #28214 )
...
* Support Huawei LTE SSDP discovery
* Avoid KeyError on simultaneous user initiated flow
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io >
* Format code
* Add already configured check
* Initialize context in test flows
* Move deviceType match to manifest
* Update generated.ssdp
* Add SSDP config flow test case
* Remove stale debug print from tests
2019-11-04 19:56:49 +02:00
Ville Skyttä and Fabian Affolter
7e6bcb85b7
Don't fail tox pylint if PYLINT_ARGS is not set ( #28403 )
...
Closes https://github.com/home-assistant/home-assistant/issues/28342
2019-11-04 08:12:15 +01:00
Ville Skyttä and Martin Hjelmare
9b038bd10d
Don't use deprecated encoding to json.loads ( #28509 )
...
Will be removed in 3.9, ignored in earlier supported versions.
2019-11-04 00:24:24 +01:00
Ville Skyttä and Martin Hjelmare
734e982822
Import CancelledError from asyncio, not .futures ( #28511 )
...
It's no longer in .futures in Python 3.8.0.
2019-11-04 00:05:01 +01:00
Ville Skyttä and Paulus Schoutsen
b904a2c5ad
Handle Huawei LTE timeouts ( #28465 )
2019-11-02 21:28:38 -07:00
Ville Skyttä and Paulus Schoutsen
1679ec3245
SSDP matching improvements ( #28285 )
...
* SSDP matching improvements
- support multiple match groups per domain
- require matches on all, not any item in a group
- support matching on all UPnP device description data
* Manifest structure fixes
2019-11-02 12:30:09 -07:00
Ville Skyttä and Paulus Schoutsen
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
Ville Skyttä and Paulus Schoutsen
f88ead597a
Type hint improvements ( #28260 )
...
* Add and improve core and config_entries type hints
* Complete and improve config_entries type hints
* More entity registry type hints
* Complete helpers.event type hints
2019-10-28 13:36:26 -07:00
Ville Skyttä and GitHub
2baee4ac3e
Add Huawei LTE mobile data switch support ( #28188 )
...
* Add Huawei LTE mobile data switch support
* Remove stale comment
* Do HA state updates in base entity
2019-10-26 13:29:36 +03:00
Ville Skyttä and GitHub
3c4caaaefc
Add presentation URL to SSDP discovery info ( #28196 )
2019-10-25 20:09:18 +03:00
Ville Skyttä and Paulus Schoutsen
643b3a98ee
Huawei LTE sensor metadata update ( #28187 )
2019-10-24 16:42:54 -07:00
Ville Skyttä and GitHub
fc09702cc3
Modernize Huawei LTE ( #26675 )
...
* Modernization rework
- config entry support, with override support from huawei_lte platform in YAML
- device tracker entity registry support
- refactor for easier addition of more features
- internal code cleanups
* Remove log level dependent subscription/data debug hack
No longer needed, because pretty much all keys from supported
categories are exposed as sensors.
Closes https://github.com/home-assistant/home-assistant/issues/23819
* Upgrade huawei-lte-api to 1.4.1
https://github.com/Salamek/huawei-lte-api/releases
* Add support for access without username and password
* Use subclass init instead of config_entries.HANDLERS
* Update huawei-lte-api to 1.4.3 (#27269 )
* Convert device state attributes to snake_case
* Simplify scanner entity initialization
* Remove not needed hass reference from Router
* Return explicit None from unsupported old device tracker setup
* Mark unknown connection errors during config as such
* Drop some dead config flow code
* Run config flow sync I/O in executor
* Parametrize config flow login error tests
* Forward entry unload to platforms
* Async/sync fixups
* Improve data subscription debug logging
* Implement on the fly add of new and tracking of seen device tracker entities
* Handle device tracker entry unload cleanup in component
* Remove unnecessary _async_setup_lte, just have code in async_setup_entry
* Remove time tracker on unload
* Fix to not use same mutable default subscription set for all routers
* Pylint fixes
* Remove some redundant defensive device tracker code
* Add back explicit get_scanner None return, hush pylint
* Adjust approach to set system_options on entry create
* Enable some sensors on first add instead of disabling everything
* Fix SMS notification recipients default value
* Add option to skip new device tracker entities
* Fix SMS notification recipient option default
* Work around https://github.com/PyCQA/pylint/issues/3202
* Remove unrelated type hint additions
* Change async_add_new_entities to a regular function
* Remove option to disable polling for new device tracker entries
2019-10-24 19:31:49 +03:00
Ville Skyttä and Paulus Schoutsen
6a731a68cd
Parallelize pylint everywhere ( #28149 )
...
* Run 2 pylint jobs by default
* Run pylint with autodetected number of jobs in Travis
Gives a ~25% speedup there at the moment.
2019-10-23 13:18:41 -07:00
Ville Skyttä and Paulus Schoutsen
7431e26752
Round system monitor load averages to 2 decimal digits ( #27558 )
...
On a Raspberry Pi 3, Python 3.7.4:
# python3 -c "import os; print(os.getloadavg())"
(0.2724609375, 0.3505859375, 0.3515625)
2019-10-23 08:57:51 -07:00
Ville Skyttä and Paulus Schoutsen
c8b2860167
Fix bootstrap dev dependencies message ( #28114 )
...
https://github.com/home-assistant/home-assistant/pull/28060#discussion_r337701541
2019-10-22 23:12:57 -07:00
Ville Skyttä and GitHub
70ddab2f3c
Helpers type hint additions and improvements ( #27986 )
...
* Helpers type hint additions and improvements
* Fix async setup dump callback signature
2019-10-21 17:54:59 +03:00
Ville Skyttä and Paulus Schoutsen
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ä and cgtobi
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ä and Paulus Schoutsen
103ffacea7
Use pre-commit in CI and tox ( #27743 )
2019-10-18 12:20:26 -07:00
Ville Skyttä and Paulus Schoutsen
3a608314c4
Mypy setup fixes ( #27825 )
...
* Install our core dependencies for mypy in azure
To match local setups and tox.
* Use "system" mypy in pre-commit instead of the "real" mypy hook
The results of mypy depend on what is installed. And the mypy hook
runs in a virtualenv of its own, meaning we'd need to install and
maintain another set of our dependencies there... no. Use the "system"
one and reuse the environment that is set up anyway already instead.
* Reintroduce needed ruamel.yaml type ignore
This ignore is required when ruamel.yaml is installed, and we want it
to be as it's part of the core dependency set.
2019-10-17 17:12:58 -07:00
Ville Skyttä and Paulus Schoutsen
23db94c627
Run mypy in pre-commit without args to match CI ( #27741 )
2019-10-16 21:36:43 -07:00
Ville Skyttä and Pascal Vizeli
68a3c97464
Deprecate Python 3.6 support, 3.8.0 is out ( #27680 )
2019-10-15 10:04:58 +02:00
Ville Skyttä and Paulus Schoutsen
759ad08930
Typing misc fixes ( #27543 )
...
* Make async_get_conditions return type hint more specific
* Exclude script/scaffold/templates/ from pre-commit mypy
2019-10-14 13:03:37 -07:00
Ville Skyttä and Pascal Vizeli
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ä and Paulus Schoutsen
3e6b9a17cc
Run mypy in pre-commit ( #27339 )
...
* Move mypy files config to setup.cfg
* Add mypy in pre-commit
2019-10-08 14:45:24 -07:00
Ville Skyttä and Paulus Schoutsen
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ä and Paulus Schoutsen
3adac699c7
Note snake_case state attribute name convention in entity docs ( #27287 )
...
https://github.com/home-assistant/home-assistant/pull/26675#discussion_r331763063
2019-10-07 08:16:26 -07:00
Ville Skyttä and Paulus Schoutsen
25bfdbc8df
Require Python >= 3.6.1 ( #27226 )
...
https://github.com/home-assistant/architecture/issues/278
2019-10-05 12:20:11 -07:00
Ville Skyttä and Pascal Vizeli
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
f259ff17d5
Type hint additions ( #26831 )
...
* Type hint additions
* Remove optional from sidebar_icon comment
Co-Authored-By: Franck Nijhof <frenck@frenck.nl >
* Remove optional from sidebar_title comment
Co-Authored-By: Franck Nijhof <frenck@frenck.nl >
* Fix issues after rebase and mypy 0.730
2019-09-29 20:07:49 +03:00
Ville Skyttä and Paulus Schoutsen
ac634d71f4
Remove no longer needed Python < 3.6 compatibility code ( #27024 )
2019-09-27 17:02:48 -07:00
Ville Skyttä and Paulus Schoutsen
b0df14db14
Bump Travis timeout to 50 minutes ( #26978 )
2019-09-27 14:20:00 -07:00
Ville Skyttä and GitHub
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
Ville Skyttä and Paulus Schoutsen
54242cd65c
Type hint additions ( #26765 )
2019-09-20 08:23:34 -07:00
Ville Skyttä and GitHub
33e1b44b3a
Use PEP 526 type annotations, add some type hints ( #26464 )
...
* Add some more type hints to helpers.event
* Change most type comments to variable types
* Remove some superfluous type hints
2019-09-07 09:48:58 +03:00
Ville Skyttä and Pascal Vizeli
ed5d3dba0e
Test with 3.6.1 in Travis ( #26347 )
...
https://github.com/home-assistant/architecture/issues/278
2019-09-02 15:51:59 +02:00
Ville Skyttä and Martin Hjelmare
0c49c82015
Huawei LTE misc improvements ( #26203 )
...
* Constant and whitespace cleanups
* Upgrade huawei_lte_api to 1.3.0
https://github.com/Salamek/huawei-lte-api/releases
* Hush traceback if device does not support logout
2019-08-26 10:32:50 +02:00
Ville Skyttä and GitHub
9b1315d8e5
Check and fix test suite leaving files behind ( #25981 )
...
* azure: run check_dirty at end of tests
* Fix ps4 media player tests to not write to files
* .gitignore coverage.xml and test-results.xml
2019-08-21 19:50:26 +03:00
Ville Skyttä and GitHub
e033e46161
Remove coveralls test dependency ( #26110 )
...
Outdated and unused.
2019-08-21 19:49:46 +03:00
Ville Skyttä and GitHub
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ä and GitHub
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ä and Paulus Schoutsen
4bce1efeee
Test with 3.6.0 in Travis ( #26039 )
...
https://github.com/home-assistant/home-assistant/pull/26030#issuecomment-522298190
2019-08-20 10:55:40 -07:00
Ville Skyttä and Paulus Schoutsen
4bcee4f7ce
Run flake8 on pre-commit ( #26028 )
2019-08-17 21:15:55 -07:00
Ville Skyttä and Aaron Bach
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ä and GitHub
9dff2e188b
Tone down huawei_lte logging ( #26020 )
...
* Tone down huawei_lte logging
Refs https://github.com/home-assistant/home-assistant/pull/23809
* Fix import order
2019-08-17 21:50:41 +03:00
Ville Skyttä and Paulus Schoutsen
aa508b5106
Complete some incomplete type hints in helpers ( #25953 )
2019-08-15 08:53:25 -07:00
Ville Skyttä and Paulus Schoutsen
d8e2518e0d
Use canonical pre-commit black URL ( #25948 )
2019-08-14 09:13:24 -07:00
Ville Skyttä and Paulus Schoutsen
b738082dad
Type check various base components ( #25878 )
...
* Type check various component base classes, disabling bunch of checks for now
* Type hint fixes
* Help mypy out some
* Add more type hints
2019-08-11 20:38:18 -07:00
Ville Skyttä and Pascal Vizeli
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
Ville Skyttä and Pascal Vizeli
a54ade1189
Spelling fixes ( #25666 )
2019-08-02 23:20:06 +02:00
Ville Skyttä and Pascal Vizeli
a2f9a5287d
Azure mypy related tweaks ( #25663 )
...
* Revert "Add some debugging to azure mypy job (#25632 )"
This reverts commit 767b8e9f25 .
No longer needed.
* Install setup.py dependencies for mypy in Azure
For better coverage, and to match what tox does.
2019-08-02 16:59:47 +02:00
Ville Skyttä and Paulus Schoutsen
767b8e9f25
Add some debugging to azure mypy job ( #25632 )
2019-08-01 12:44:02 -07:00
Ville Skyttä and GitHub
c2556d90ea
Huawei LTE sensor unique id improvements ( #25609 )
...
* Convert sensor setup to async
* Improve sensor unique ids
* Save some indent levels, use f-string formatting
* Require getmac in tests
* Fix RouterData init in tests
* Make discovery_info optional in async_setup_platform signature
2019-08-01 19:22:04 +03:00
Ville Skyttä and Paulus Schoutsen
6b22dbcd0b
Blacken top level *.py ( #25621 )
...
* Blacken top level *.py
* Tolerate double quotes too in setup.py dependency extraction
2019-08-01 08:30:49 -07:00
Ville Skyttä and cgtobi
f9b1a52259
Move mypy settings to setup.cfg ( #25611 )
2019-08-01 07:53:53 +02:00
Ville Skyttä and GitHub
cfd600d72e
script/test: fix tox env ( #25620 )
2019-08-01 08:45:58 +03:00
Ville Skyttä and Paulus Schoutsen
0490167a12
Azure flake8 dep, docstring fixes ( #25605 )
...
* Fix Azure CI flake8 deps
* Docstyle fixes
2019-07-31 12:21:36 -07:00
Ville Skyttä and Paulus Schoutsen
3cf8964c06
Python < 3.6 remainder cleanups ( #25607 )
2019-07-31 12:21:15 -07:00
Ville Skyttä and Pascal Vizeli
cc74b22ce8
Ignore .dmypy.json ( #25528 )
2019-07-29 11:34:19 +02:00
Ville Skyttä and Martin Hjelmare
f379bb4016
huawei_lte: try unsupported data retrievals only once ( #25524 )
...
* huawei_lte: try unsupported data retrievals only once
Refs https://github.com/home-assistant/home-assistant/pull/23809
* Move huawei_lte_api imports to top level
2019-07-29 10:08:49 +02:00
Ville Skyttä and cgtobi
b230562c76
Mypy config cleanups ( #25475 )
...
* Move file specific config to inline comments
* Disallow untyped defs by default everywhere
2019-07-25 08:08:20 +02:00
Ville Skyttä and Paulus Schoutsen
e8e84fb764
Type check homeassistant.scripts ( #25464 )
...
* Run mypy on homeassistant.scripts, disabling bunch of checks for now
* Declare async_initialize in AuthProvider
* Add some type hints
* Remove unreachable code
* Help mypy out
* Script docstring fixes
2019-07-24 13:18:40 -07:00
Ville Skyttä and Paulus Schoutsen
408af6e842
Install requirements_test.txt for flake8 in Azure CI ( #25463 )
...
Was missing specified versions, as well as flake8-docstrings altogether.
2019-07-24 08:36:52 -07:00
Ville Skyttä and Paulus Schoutsen
cd0277c2c3
Lint fixes ( #25462 )
2019-07-24 08:26:41 -07:00
Ville Skyttä and GitHub
f07c714c01
Huawei LTE misc improvements ( #25377 )
...
* Rename traffic_statistics to monitoring_traffic_statistics
For better consistency with huawei-lte-api.
* Add default device name for sensors
In case the actual device name cannot be accessed for some reason.
* Support device class in sensor metadata
* Mark known signal strength sensors as such
2019-07-24 07:24:22 +03:00
Ville Skyttä and Paulus Schoutsen
17d754dbbf
Optional and Union simplifications ( #25365 )
2019-07-21 10:59:51 -07:00
Ville Skyttä and Paulus Schoutsen
d64f1e767c
Type check all helpers ( #25373 )
...
* Type check all helpers, add inline exclusions for work in progress
* Remove unused Script._template_cache
* Add some missing type hints
* Remove unneeded type: ignore
* Type hint fixes
* Mypy assistance tweaks
* Don't look for None in deprecated config "at most once" check
* Avoid None name slugify attempt when generating entity id
* Avoid None state store attempt on entity remove
2019-07-21 09:59:02 -07:00
Ville Skyttä and Paulus Schoutsen
fc5b1c7005
Mypy config improvements ( #25340 )
...
* Specify python version
So that it type checks against the lowest common denominator version,
not the runtime one.
* Disallow incomplete definitions
2019-07-20 14:35:59 -07:00
Ville Skyttä and Paulus Schoutsen
56e4a2aea6
Fix util.ruamel_yaml type errors ( #25338 )
2019-07-20 14:35:22 -07:00
Ville Skyttä and Andrew Sayre
258dc80fbd
Remove some Python 2 compatibility code ( #25341 )
2019-07-20 08:04:18 -05:00
Ville Skyttä and GitHub
22d9a73e8e
Doc lint fixes ( #25339 )
2019-07-20 15:30:36 +03:00
Ville Skyttä and Paulus Schoutsen
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ä and Pascal Vizeli
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ä and Daniel Høyer Iversen
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ä and Martin Hjelmare
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
Ville Skyttä and Paulus Schoutsen
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ä and GitHub
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ä and GitHub
f1cbb2a0b3
braviatv, nmap_tracker: use getmac for getting MAC addresses ( #24628 )
...
* braviatv, nmap_tracker: use getmac for getting MAC addresses
Refs https://github.com/home-assistant/home-assistant/pull/24601
* Move getmac imports to top level
2019-06-20 23:35:02 +03:00
Ville Skyttä and Pascal Vizeli
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ä and cdce8p
cf89f45697
Fix homekit test assert no messages ( #23856 )
2019-05-15 13:13:56 +02:00
Ville Skyttä and Paulus Schoutsen
c384adeef4
Upgrade defusedxml to 0.6.0 ( #23651 )
2019-05-08 08:04:36 -07:00
Ville Skyttä and Jason Hu
b9a72034f9
huawei_lte: handle icons for None sensor values gracefully ( #23649 )
2019-05-06 10:15:28 -07:00
Ville Skyttä and GitHub
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ä and GitHub
b79d71065c
Upgrade pytest to 4.4.1 ( #23584 )
2019-05-02 21:17:36 +03:00
Ville Skyttä and GitHub
0a75a2c080
Clean up redundant same-package ..package imports ( #23587 )
2019-05-02 20:11:37 +03:00
Ville Skyttä and Martin Hjelmare
f9205d0ccc
Simplify Travis cache config ( #23592 )
2019-05-01 16:08:57 +02:00
Ville Skyttä and Fabian Affolter
7058249c01
Uprade asynctest to 0.12.3 ( #22824 )
2019-04-10 11:17:02 +02:00
Ville Skyttä and Fabian Affolter
fa8a4de019
Upgrade pytest to 4.4.0 ( #22822 )
2019-04-10 11:16:52 +02:00
Ville Skyttä and Daniel Høyer Iversen
b4f8d157d6
Upgrade pytest to 4.3.1 ( #22088 )
2019-03-16 08:13:45 +01:00
Ville Skyttä and Pascal Vizeli
dfd9f7ccf3
Upgrade huawei-lte-api to 1.1.5 ( #21791 )
2019-03-08 09:28:53 +01:00
Ville Skyttä and GitHub
2812483193
Upgrade pylint to 2.3.1 ( #21789 )
2019-03-08 09:13:35 +02:00
Ville Skyttä and Paulus Schoutsen
beb86426e4
Upgrade flake8 to 3.7.7 ( #21452 )
2019-02-26 10:47:57 -08:00
Ville Skyttä and GitHub
619ea3ff98
Upgrade mypy to 0.670 ( #20934 )
2019-02-25 07:54:54 +02:00