Skip to content

Commit

Permalink
Merge branch 'dev' into pydantic-hass
Browse files Browse the repository at this point in the history
  • Loading branch information
acockburn committed Feb 7, 2025
2 parents 9be594c + 71ac499 commit 876fb8f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@ line-length = 120
# Ruff

[tool.ruff]
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
lint.select = ["E", "F"]
lint.ignore = []

# Allow autofix for all enabled rules (when `--fix`) is provided.
lint.fixable = ["E", "F", "UP"]
lint.unfixable = []

src = ["appdaemon"]

# Exclude a variety of commonly ignored directories.
Expand All @@ -128,6 +136,7 @@ exclude = [
"node_modules",
"venv",
]
lint.per-file-ignores = {}

line-length = 200
indent-width = 4
Expand All @@ -145,7 +154,7 @@ fixable = ["E", "F", "UP"]
unfixable = []

# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"

per-file-ignores = {}

Expand Down

0 comments on commit 876fb8f

Please sign in to comment.