1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

Finish up transition from black-format to ruff (#8294)

This commit is contained in:
Katherine Whitlock
2025-02-21 14:02:55 -05:00
committed by GitHub
parent 9f603a474f
commit c281351732
4 changed files with 76 additions and 56 deletions

View File

@@ -51,10 +51,6 @@ version = {attr = "esphome.const.__version__"}
[tool.setuptools.packages.find]
include = ["esphome*"]
[tool.black]
target-version = ["py39", "py310"]
exclude = 'generated'
[tool.pytest.ini_options]
testpaths = [
"tests",
@@ -108,6 +104,8 @@ expected-line-ending-format = "LF"
[tool.ruff]
required-version = ">=0.5.0"
target-version = "py39"
exclude = ['generated']
[tool.ruff.lint]
select = [