mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Use ruff and ruff format (#534)
Replaces the previously used linting and code formatting tools with ruff.
This commit is contained in:
8
tox.ini
8
tox.ini
@@ -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
|
||||
|
Reference in New Issue
Block a user