Use ruff and ruff format (#534)

Replaces the previously used linting and code formatting tools with ruff.
This commit is contained in:
Teemu R
2023-10-29 23:15:42 +01:00
committed by GitHub
parent 0061668c9f
commit c431dbb832
26 changed files with 220 additions and 174 deletions

View File

@@ -1,5 +1,5 @@
[tox]
envlist=py37,py38,flake8,lint,coverage
envlist=py37,py38,lint,coverage
skip_missing_interpreters = True
isolated_build = True
@@ -31,12 +31,6 @@ commands =
coverage report
coverage html
[testenv:flake8]
deps=
flake8
flake8-docstrings
commands=flake8 kasa
[testenv:lint]
deps = pre-commit
skip_install = true