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:
committed by
GitHub
parent
9f603a474f
commit
c281351732
@@ -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 = [
|
||||
|
Reference in New Issue
Block a user