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

This commit is contained in:
Katherine Whitlock authored and GitHub committed 2025-02-21 13:02:55 -06:00
1 parent 9f603a474f
commit c281351732
4 files changed
+75 -55

No files matched your search

+2 -4
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 = [