Commit Graph

116 Commits

Author SHA1 Message Date
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
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
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
Franck Nijhof de6c9e67b1
Upgrade black to 21.4b2 (#49841) 2021-04-29 11:50:29 +02:00
Franck Nijhof 9c3c67b71b
Upgrade black to 21.4b0 (#49715) 2021-04-26 10:18:30 -10:00
J. Nick Koston 3fa8ffa731
Enable mccabe complexity checks in flake8 (#49616)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-25 12:38:40 +02:00
Franck Nijhof 77ae4abc6e
Upgrade isort to 5.8.0 (#49516) 2021-04-21 11:57:23 +02:00
Franck Nijhof ee37d8141a
Upgrade flake8 to 3.9.1 (#49284) 2021-04-16 09:35:19 +02:00
Marc Mueller 8e2b5b36b5
Bump pyupgrade to 2.12.0 (#48943) 2021-04-09 09:58:27 -07:00
Ville Skyttä 3cd52b695d
Upgrade flake8 and dependencies, enable flake8-noqa (#48393)
* Upgrade flake8 to 3.9.0

https://flake8.pycqa.org/en/latest/release-notes/3.9.0.html

* Upgrade pydocstyle to 6.0.0

https://www.pydocstyle.org/en/latest/release_notes.html#september-13th-2020
https://www.pydocstyle.org/en/latest/release_notes.html#march-18th-2021

* Upgrade flake8-docstrings to 1.6.0, enable flake8-noqa

https://gitlab.com/pycqa/flake8-docstrings/-/blob/1.6.0/HISTORY.rst
https://github.com/plinss/flake8-noqa/issues/1

* Upgrade/pin pyflakes to 2.3.1

https://github.com/PyCQA/pyflakes/blob/2.3.1/NEWS.rst

* Pin pycodestyle to 2.7.0
2021-03-27 10:22:11 +01:00
Marc Mueller 6fc3406c93
Ignore python-typing-update for pre-commit requirements (#48292) 2021-03-24 20:05:53 +01:00
Franck Nijhof dc15f243e6
Upgrade pyupgrade to v2.11.0 (#48220) 2021-03-22 13:29:39 +01:00
Franck Nijhof 8a56dbf587
Add flake8 comprehensions checks to pre-commit & CI (#48111) 2021-03-19 13:41:09 +01:00
Marc Mueller 7def367467
Update pyupgrade to v2.10.1 (#48089) 2021-03-19 00:03:27 +01:00
Marc Mueller 314a5518f1
Add python-typing-update to pre-commit-config (#48088) 2021-03-18 23:20:25 +01:00
Ville Skyttä b0c873dd34
Upgrade isort to 5.7.0 (#47279)
https://pycqa.github.io/isort/CHANGELOG/#570-december-30th-2020
2021-03-02 21:16:11 +01:00
Ville Skyttä 1c8fbc7e6a
Upgrade codespell to 2.0.0 (#44695)
* Upgrade codespell to 2.0.0

* Fix newly found spelling errors
2020-12-31 19:14:07 +01:00
Ville Skyttä c6c3d720ca
Upgrade bandit to 1.7.0 (#44184)
* Upgrade bandit to 1.6.3

https://github.com/PyCQA/bandit/releases/tag/1.6.3

* Upgrade bandit to 1.7.0

https://github.com/PyCQA/bandit/releases/tag/1.7.0
2020-12-15 03:38:01 +01:00
Ville Skyttä 32f7045c7c
Upgrade flake8 to 3.8.4 (#41117)
https://flake8.pycqa.org/en/latest/release-notes/3.8.4.html
2020-10-03 10:11:22 +02:00
Franck Nijhof 40d003eccf
Upgrade isort to 5.5.3 (#40493) 2020-09-23 16:44:51 +02:00
Franck Nijhof b57f97b954
Upgrade isort to 5.5.2 (#39879) 2020-09-10 08:34:15 +02:00
Franck Nijhof 72300a54df
Upgrade isort to 5.5.1 (#39737) 2020-09-07 11:17:03 +02:00
Franck Nijhof fdb737d1d9
Upgrade isort to 5.5.0 (#39639) 2020-09-04 09:23:24 +02:00
Franck Nijhof a1678368cf
Upgrade pydocstyle to 5.1.1 (#39492) 2020-08-31 10:20:39 +02:00
Ville Skyttä b882304ec2
Upgrade pydocstyle to 5.1.0 (#39374) 2020-08-29 10:07:48 +02:00
Ville Skyttä 6ae9399237
Upgrade isort to 5.4.2 (#37939) 2020-08-29 08:23:55 +02:00
Franck Nijhof 1c2ebdf307
Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
Bas Nijholt 0427d87ba4
Bump codespell from v1.16.0 to v1.17.1 and fix new spelling errors (#38663) 2020-08-08 14:41:02 +02:00
Bas Nijholt e258ab7ff0
Bump yamllint to v1.24.2 (#38633) 2020-08-08 13:18:37 +02:00
Bas Nijholt d49c55a8da
Bump pyupgrade to v2.7.2 (#38629) 2020-08-08 12:36:12 +02:00
Ville Skyttä 63af60c7e7
Upgrade flake8 to 3.8.3 (#37501)
https://flake8.pycqa.org/en/latest/release-notes/3.8.2.html
https://flake8.pycqa.org/en/latest/release-notes/3.8.3.html
2020-07-05 11:03:22 +02:00
Ville Skyttä e2b45915a6
Upgrade flake8 to 3.8.1, fix findings (#35578) 2020-05-13 17:14:30 -05:00
Franck Nijhof 7284f4e7ca
Upgrade pyupgrade to v2.3.0 (#35159) 2020-05-04 09:28:20 +02:00
Franck Nijhof cc28150253
Upgrade pyupgrade to v2.2.1 (#34608) 2020-04-23 13:13:31 -07:00
Franck Nijhof ced59e599f
Upgrade yamllint to 1.23.0 (#34337) 2020-04-17 13:12:25 +02:00
Franck Nijhof 91d35c7c5c
Upgrade yamllint to 1.22.0 (#34198) 2020-04-14 12:33:06 +02:00
Franck Nijhof f38011560f
Add pyupgrade (in pre-commit and CI) (#33688)
* Add pyupgrade (in pre-commit and CI)

* Fix leftover results of pyupgrade

* Ensure we run for Python 3.7 on pyupgrade
2020-04-05 12:49:57 +02:00
Franck Nijhof 24840b54ac
Add yamllint (in pre-commit and CI) (#33676)
* Add yamllint (in pre-commit and CI)

* Fix linting for all YAML files

* Bump and add it to requirements

* Fix gen_requirements for pre-commit, remove 'v' from version
2020-04-05 10:33:45 +02:00
Robert Svensson e0704d73cc
deCONZ - Services normalize bridge id (#31378)
* Services should also make sure to normalize bridge id since users do not know to manage themselves
2020-02-01 18:11:05 +01:00
Ville Skyttä dc5ca461a9
Run mypy through a pyenv/virtualenv enabler wrapper script (#30922) 2020-02-01 07:12:46 -08:00
Ville Skyttä 74cde3de6e Upgrade pydocstyle to 5.0.2 (#30648)
https://github.com/PyCQA/pydocstyle/blob/5.0.2/docs/release_notes.rst
2020-01-10 19:56:07 +01:00
Bas Nijholt c58c10ab7c Add isort to CI and pre-commit (#29739)
* add isort to CI and pre-commit

* disable wrong-import-order in pylintrc

* ✏️ Tweak


Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2019-12-12 15:58:47 +01:00
Ville Skyttä a12cf7211d Upgrade pydocstyle to 5.0.1 (#29830)
* Upgrade pydocstyle to 5.0.1

http://www.pydocstyle.org/en/5.0.1/release_notes.html

* Pydocstyle and other docstring fixes
2019-12-10 23:25:06 +01:00
Ville Skyttä 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ä 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