Franck Nijhof
eb5d63237c
Update ruff to v0.0.235 ( #86719 )
2023-01-26 17:17:13 +01:00
Aarni Koskela
65ad953497
Update Ruff to 0.0.231, enable D401 ( #86520 )
2023-01-24 13:57:08 +01:00
Aarni Koskela
bf41a971a2
Introduce ruff (eventually replacing autoflake, pyupgrade, flake8) ( #86224 )
2023-01-24 12:15:16 +01:00
Marc Mueller
4f87c1f30f
Update pre-commit-config [Py310] ( #86415 )
2023-01-23 09:59:44 +01:00
Aarni Koskela
b0ed0d5d41
Bump pre-commit-hooks to 4.4.0 ( #82984 )
2023-01-23 08:43:51 +01:00
Max R
156c815499
Run `flake8` on more files ( #85333 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Dave T <17680170+davet2001@users.noreply.github.com>
2023-01-16 20:53:14 +01:00
Marc Mueller
8f7aca7b69
Update pydocstyle to 6.2.3 ( #85449 )
2023-01-09 00:59:07 +02:00
Marc Mueller
ac183b1394
Update isort to 5.11.4 ( #84406 )
2022-12-21 23:06:18 +01:00
Franck Nijhof
4ad589dcf6
Update black to 22.12.0 ( #84242 )
2022-12-19 16:43:53 +01:00
tronikos
d6158c0fcc
Google Assistant SDK: Support non en-US language code ( #84028 )
...
* Support non en-US language code
* Get default language_code based on HA config
* Revert bumping gassist-text
Will be done in a separate PR
2022-12-17 14:40:24 -08:00
Marc Mueller
ed8aa51c76
Update isort to 5.11.3 ( #84147 )
2022-12-17 22:10:38 +01:00
Marc Mueller
813226e331
Update pyupgrade to 3.3.1 ( #84148 )
2022-12-17 22:10:13 +01:00
Ville Skyttä
8f9baafac1
Tweak black config ( #83230 )
...
* Remove `--safe` from pre-commit args, it's the default
* Extend exclusions instead of overriding, improve regex
2022-12-04 17:12:37 -05:00
Marc Mueller
2c43873317
Update codespell to 2.2.2 ( #82856 )
2022-11-28 17:52:15 +01:00
Marc Mueller
15f95a0787
Update flake8 and related dependencies ( #82854 )
2022-11-28 14:49:11 +01:00
Marc Mueller
476821bbf8
Update pyupgrade to 3.2.2 ( #82855 )
2022-11-28 13:55:04 +01:00
Erik Montnemery
e1338adf1a
Allow configuring country and language in core config ( #81734 )
...
* Allow configuring country and language in core config
* Add script for updating list of countries
* Use black for formatting
* Fix quoting
* Move country codes to a separate file
* Address review comments
* Add generated/countries.py
* Get default language from owner account
* Remove unused variable
* Add script to generate list of supported languages
* Add tests
* Fix stale docsring
* Use format_python_namespace
* Correct async_user_store
* Improve typing
* Fix with_store decorator
* Initialize language in core store migration
* Fix startup
* Tweak
* Apply suggestions from code review
Co-authored-by: Franck Nijhof <git@frenck.dev>
* Update storage.py
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-11-24 23:25:50 +01:00
Erik Montnemery
b566d55998
Sort ignore-words-list ( #82520 )
2022-11-22 11:26:53 +01:00
Aarni Koskela
e4c73259f7
Configure autoflake for pre-commit ( #82414 )
2022-11-22 08:10:36 +01:00
Erik Montnemery
c3d4a9cd99
Create repairs issue if an outdated currency code is configured ( #81717 )
...
* Create repairs issue if an outdated currency code is configured
* Add script for updating list of currencies
* Use black for formatting
* Move currency codes to a separate file
* Address review comments
2022-11-08 07:21:09 +01:00
Ville Skyttä
9bc029000a
Upgrade prettier to v2.7.1 ( #81682 )
...
No formatting changes.
https://github.com/prettier/prettier/blob/2.7.1/CHANGELOG.md
2022-11-07 09:09:47 +01:00
Franck Nijhof
086a1bdace
Update yamllint to 1.28.0 ( #80497 )
2022-10-18 11:42:57 +03:00
Marc Mueller
a63c9e8fb9
Update python-typing-update to 0.5.0 ( #80315 )
2022-10-14 13:21:37 +02:00
Marc Mueller
4e5b5dfb93
Update pyupgrade to 3.1.0 ( #80058 )
...
* Update pyupgrade to 3.1.0
* Remove redundant open modes - text is the default
2022-10-11 09:04:52 +02:00
Franck Nijhof
f8f4b059a1
Update black to 22.10.0 ( #80006 )
2022-10-10 14:19:09 +02:00
Franck Nijhof
56dd0a6867
Run hassfest in pre-commit when brands changed ( #79589 )
2022-10-04 16:41:11 +02:00
Paulus Schoutsen
62c114e849
Add Apple brand ( #79227 )
2022-09-28 16:21:09 -04:00
Franck Nijhof
fbd265aa2d
Update pyupgrade to v2.38.0 ( #78573 )
2022-09-16 12:51:58 +02:00
Franck Nijhof
6dc3c0b572
Update black to 22.8.0 ( #78509 )
2022-09-15 12:45:18 +02:00
epenet
23168434d5
Add pylint directory to black pre-commit ( #78011 )
...
Add pylint to black CI
2022-09-08 09:14:58 +02:00
Franck Nijhof
2b2ea3dd73
Update flake8-noqa to 1.2.8 ( #76506 )
2022-08-09 09:35:38 -04:00
Franck Nijhof
ce871835b2
Update pyupgrade to v2.37.3 ( #76257 )
2022-08-05 01:04:10 +02:00
Marc Mueller
503e88642e
Update pyupgrade to 2.37.2 ( #75456 )
2022-07-19 21:06:18 +02:00
Paulus Schoutsen
41ec8cd354
Expose supported brands via API ( #75074 )
2022-07-12 13:49:54 -07:00
Franck Nijhof
af2feb3d40
Update pyupgrade to v2.37.1 ( #74989 )
2022-07-11 16:54:01 +02:00
Franck Nijhof
08887a6faa
Update yamllint to 1.27.1 ( #74853 )
2022-07-10 14:57:46 -07:00
Franck Nijhof
8054e309b3
Update flake8-noqa to 1.2.5 ( #74896 )
2022-07-10 14:23:40 -07:00
Franck Nijhof
52130b227e
Update flake8-comprehensions to 3.10.0 ( #74882 )
2022-07-10 14:55:43 +02:00
epenet
1bfd8b1a76
Add enforce_type_hints to vscode tasks ( #74227 )
2022-06-30 20:49:41 +02:00
Franck Nijhof
fdb7a23171
Update black to 22.6.0 ( #74209 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-30 10:08:06 +02:00
Franck Nijhof
8007effd4f
Update pyupgrade to v2.34.0 ( #73530 )
2022-06-15 13:32:39 +02:00
epenet
fe5fe148fa
Add mypy checks to pylint plugins ( #72821 )
2022-06-02 00:06:19 +02:00
Marc Mueller
1ac71455cb
Move remaining metadata to pyproject ( #72469 )
2022-05-26 02:54:49 +02:00
Franck Nijhof
ace2f18697
Update pyupgrade to v2.32.1 ( #71939 )
2022-05-16 13:58:54 +02:00
Marc Mueller
2346cb1cd7
Update pyupgrade to 2.32.0 ( #69991 )
2022-04-13 20:23:19 +02:00
epenet
93706ca21a
Bump prettier to v2.6.1 and enable on CI ( #68877 )
2022-03-30 13:10:48 +02:00
Jason Hunter
7f5ee53d51
Fix pre-commit by upgrading black ( #68855 )
2022-03-29 15:29:30 -04:00
Franck Nijhof
cdc78ee129
Update isort to 5.10.1 ( #68564 )
2022-03-23 14:47:43 +01:00
Franck Nijhof
fabcdf7498
Update flake8-comprehensions to 3.8.0 ( #68164 )
2022-03-15 11:06:13 +01:00
Franck Nijhof
fb703ddc5d
Update pyupgrade to v2.31.1 ( #68110 )
2022-03-14 11:36:34 +01:00
Ville Skyttä
ca32c38859
Upgrade bandit to 1.7.4 ( #67669 )
...
No new issues flagged.
https://github.com/PyCQA/bandit/releases/tag/1.7.1
https://github.com/PyCQA/bandit/releases/tag/1.7.2
https://github.com/PyCQA/bandit/releases/tag/1.7.3
https://github.com/PyCQA/bandit/releases/tag/1.7.4
2022-03-05 20:13:30 +01:00
Joakim Sørensen
9f57ce504b
Use GraphQL for GitHub integration ( #66928 )
2022-02-20 11:59:11 +01:00
Franck Nijhof
fa09cf663e
Update black to 22.1.0 ( #65788 )
2022-02-05 14:19:37 +01:00
Ville Skyttä
27d5be71dd
Update python-typing-update config to py39plus ( #65261 )
2022-01-30 20:16:14 -08:00
Marc Mueller
7d949a7665
Add dedicated pre-commit hook for mypy_config [hassfest] ( #65092 )
2022-01-28 19:46:17 +01:00
Marc Mueller
75f39f9ca2
Move version metadata key to setup.cfg ( #65091 )
...
* Move version to setup.cfg
* Move python_requires to setup.cfg
* Add script to validate project metadata
* Add dedicated pre-commit hook
2022-01-28 13:36:20 +01:00
Marc Mueller
86ed720335
Move `install_requires` to `setup.cfg` ( #65095 )
2022-01-27 22:34:18 -08:00
Michael
a5eac99208
Add pylint to pre-commit hooks ( #64665 )
2022-01-24 12:00:49 +01:00
Franck Nijhof
7a2b699371
Update codespell to 2.1.0 ( #64661 )
2022-01-21 22:05:24 +01:00
Marc Mueller
55894d0bf9
Run pre-commit `hassfest` on changes to script files ( #64195 )
2022-01-16 17:02:05 +01:00
Marc Mueller
99d648fde6
Fix pre-commit gen_requirements_all files regex ( #64095 )
2022-01-14 01:04:12 +01:00
Marc Mueller
30bd3234de
Run pre-commit script on constraint changes ( #64073 )
2022-01-13 22:14:43 +01:00
Marc Mueller
dd39389a11
Use --py39-plus setting [pyupgrade] ( #63927 )
2022-01-11 21:38:17 +01:00
Franck Nijhof
396825ab92
Update pyupgrade to v2.31.0 ( #63888 )
2022-01-11 13:22:16 +01:00
Marc Mueller
1b884964a4
Run `hassfest` on changes to `.strict-typing` ( #63237 )
2022-01-02 22:53:34 +01:00
Marc Mueller
2738217c4b
Run `gen_requirements_all` script on changes to `setup.py` ( #63171 )
2022-01-02 16:11:25 +01:00
Marc Mueller
06b9be4d9c
Upgrade flake8-noqa to 1.2.1 ( #63170 )
2022-01-02 02:22:26 +01:00
Franck Nijhof
07e034c1c6
Add iif (immediate if) template function/filter ( #61428 )
2021-12-21 17:25:07 +01:00
Franck Nijhof
0dbd948867
Add Open-Meteo integration (second attempt) ( #61742 )
2021-12-16 21:12:33 +01:00
Franck Nijhof
bc79d41266
Upgrade black to 21.12b0 ( #61741 )
2021-12-13 16:02:35 -08:00
epenet
97d292133f
Revert "Add Open-Meteo integration ( #60379 )" ( #61130 )
...
This reverts commit d802f3a82f
.
2021-12-06 23:35:14 +01:00
Franck Nijhof
d802f3a82f
Add Open-Meteo integration ( #60379 )
...
Co-authored-by: MatthewFlamm <39341281+MatthewFlamm@users.noreply.github.com>
2021-12-06 10:01:12 -08:00
Franck Nijhof
909784bff8
Upgrade black to 21.11b1 ( #60532 )
2021-11-29 11:51:58 +01:00
Jared Hobbs
6d4b74f8f2
Add haa vendor extensions ( #59750 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-20 09:22:10 -06:00
Franck Nijhof
5133269e2b
Upgrade black to 21.11b0 ( #59823 )
2021-11-17 11:19:09 +01:00
Franck Nijhof
fae6c6fda1
Upgrade pyupgrade to v2.29.0 ( #59499 )
2021-11-10 22:21:43 -08:00
Franck Nijhof
da8b9cbe82
Upgrade isort to 5.10.0 ( #59046 )
2021-11-04 11:29:01 +01:00
Franck Nijhof
a52466c339
Upgrade yamllint to 1.26.3 ( #59047 )
2021-11-04 11:27:20 +01:00
Franck Nijhof
2dca080574
Upgrade black to 21.10b0 ( #58870 )
2021-11-01 08:51:36 +01:00
Marc Mueller
bf24090463
Update flake8 related packages ( #57538 )
2021-10-12 15:33:08 +02:00
Franck Nijhof
70aa8b6f00
Upgrade flake8-comprehensions to 3.7.0 ( #57520 )
2021-10-12 10:15:45 +02:00
Franck Nijhof
917254e956
Upgrade pyupgrade to v2.27.0 ( #56638 )
2021-09-25 11:48:47 +02:00
Franck Nijhof
c1df49e9fc
Upgrade black to 21.9b0 ( #56575 )
2021-09-23 16:33:24 +02:00
Franck Nijhof
d6483f2f36
Upgrade isort to 5.9.3 ( #54481 )
2021-08-11 09:01:45 -07:00
Matthew LeMay
33c33d844e
Update pyupgrade to 2.23.3 ( #54179 )
2021-08-10 00:16:33 +02:00
Marc Mueller
882c323551
Update pyupgrade to v2.23.0 ( #53495 )
2021-07-26 14:21:30 +02:00
Marc Mueller
5d2ce19746
Update python-typing-update to v0.3.5 ( #53223 )
...
* Update python-typing-update to 0.3.5
* Update typing
2021-07-20 11:31:48 +02:00
Franck Nijhof
dd8ec04e58
Upgrade black to 21.7b0 ( #53192 )
2021-07-19 18:03:02 +02:00
Ville Skyttä
470f2dd73f
Upgrade pyupgrade to 2.21.2, apply its changes ( #52987 )
2021-07-19 10:46:09 +02:00
Franck Nijhof
f362852a24
Upgrade black to 21.6b0 ( #51785 )
2021-06-12 22:07:22 +02:00
Franck Nijhof
5a4add6437
Upgrade black to 21.5b2 ( #51297 )
2021-05-31 21:04:20 +03:00
Eduard van Valkenburg
0bba0f07ac
Add SIA Alarm systems ( #36625 )
...
* initial commit of SIA integration
* translations
* moved reactions to file, typed everything
* fixed no-else-return 3 times
* refactored config and fix coverage of test
* fix requirements_test
* elimated another platform
* forgot some mentions of sensor
* updated config flow steps, fixed restore and small edits
* fixed pylint
* updated config_flow with better schema, small fixes from review
* final comment and small legibility enhancements
* small fix for pylint
* fixed init
* fixes for botched rebase
* fixed port string
* updated common strings
* rebuild component with eventbus
* fixed pylint and tests
* updates based on review by @bdraco
* updates based on new version of package and reviews
* small updates with latest package
* added raise from
* deleted async_setup from test
* fixed tests
* removed unused code from addititional account step
* fixed typo in strings
* clarification and update to update_data func
* added iot_class to manifest
* fixed entity and unique id setup
* small fix in tests
* improved unique_id semantics and load/unload functions
* added typing in order to fix mypy
* further fixes for typing
* final fixes for mypy
* adding None return types
* fix hub DR identifier
* rebased, added DeviceInfo
* rewrite to clean up and make it easier to read
* replaced functions with format for id and name
* renamed tracker remover small fix in state.setter
* improved readibility of state.setter
* no more state.setter and small updates
* mypy fix
* fixed and improved config flow
* added fixtures to test and other cleaner test code
* removed timeband from config, will reintro in a options flow
* removed timeband from tests
* added options flow for zones and timestamps
* removed type ignore
* replaced mapping with collections.abc
2021-05-24 08:48:28 +02:00
Franck Nijhof
ecac574eb0
Upgrade pyupgrade to v2.16.0 ( #50756 )
2021-05-17 11:27:09 +02:00
Franck Nijhof
64a6a75330
Upgrade pyupgrade to v2.15.0 ( #50666 )
2021-05-15 16:04:08 +02:00
Franck Nijhof
71c21693ef
Upgrade flake8-comprehensions to 3.5.0 ( #50665 )
2021-05-15 16:02:10 +02:00
Franck Nijhof
5ce07e689a
Upgrade flake8 to 3.9.2 ( #50664 )
2021-05-15 15:55:45 +02:00
Franck Nijhof
4025443b67
Upgrade black to 21.5b1 ( #50661 )
2021-05-15 15:39:45 +02:00
Franck Nijhof
b7cd75b134
Upgrade pyupgrade to v2.14.0 ( #50059 )
2021-05-05 09:28:47 +02:00
Franck Nijhof
373236e588
Upgrade black to 21.5b0 ( #50102 )
2021-05-05 09:09:34 +02:00
Franck Nijhof
cc21de569d
Upgrade yamllint to 1.26.1 ( #50060 )
2021-05-04 19:27:23 -10:00