Skip to content

Commit

Permalink
add domaini folder downgrade pyp version
Browse files Browse the repository at this point in the history
  • Loading branch information
jontofront committed Jan 26, 2024
1 parent 4d27677 commit 44f9cc0
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
[project]
name = "ecoNET-300-Home-Assistant-Integration"

[tool.mypy]
python_version = "3.11"

[tool.black]
line-length = 88
target-version = ["py311","py312"]
target-version = ["py311"]

[tool.pylint.MAIN]
py-version = ["3.11","3.12"]
py-version = ["3.11"]

load-plugins = [
"pylint.extensions.code_style",
Expand Down Expand Up @@ -43,6 +49,13 @@ runtime-typing = false
max-line-length-suggestions = 72

[tool.ruff]
exclude = [
".git",
".github",
".vscode"
]
target-version = "py311"
[tool.ruff.lint]
select = [
"B002", # Python does not support the unary prefix increment
"B007", # Loop control variable {name} not used within loop body
Expand Down Expand Up @@ -156,17 +169,12 @@ fixture-parentheses = false
[tool.ruff.isort]
force-sort-within-sections = true
known-first-party = [
"homeassistant",
"custom_components.econet300",
]
combine-as-imports = true
split-on-trailing-comma = false

[tool.ruff.per-file-ignores]

# Allow for main entry & scripts to write to stdout
"homeassistant/__main__.py" = ["T201"]
"homeassistant/scripts/*" = ["T201"]
"script/*" = ["T20"]

[tool.ruff.mccabe]
max-complexity = 25

0 comments on commit 44f9cc0

Please sign in to comment.