Skip to content

Commit

Permalink
Fix ruff and update devcontainers
Browse files Browse the repository at this point in the history
  • Loading branch information
acockburn committed Feb 7, 2025
1 parent 876fb8f commit 24d20f3
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/python 3.10/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"eamodio.gitlens",
"Gruntfuggly.todo-tree",
"tamasfe.even-better-toml",
"Postman.postman-for-vscode"
"Postman.postman-for-vscode",
"GitHub.copilot"
]

}
Expand Down
3 changes: 2 additions & 1 deletion .devcontainer/python 3.11/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"eamodio.gitlens",
"Gruntfuggly.todo-tree",
"tamasfe.even-better-toml",
"Postman.postman-for-vscode"
"Postman.postman-for-vscode",
"GitHub.copilot"
]

}
Expand Down
3 changes: 2 additions & 1 deletion .devcontainer/python 3.12/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"eamodio.gitlens",
"Gruntfuggly.todo-tree",
"tamasfe.even-better-toml",
"Postman.postman-for-vscode"
"Postman.postman-for-vscode",
"GitHub.copilot"
]

}
Expand Down
3 changes: 2 additions & 1 deletion .devcontainer/python 3.13/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"eamodio.gitlens",
"Gruntfuggly.todo-tree",
"tamasfe.even-better-toml",
"Postman.postman-for-vscode"
"Postman.postman-for-vscode",
"GitHub.copilot"
]

}
Expand Down
12 changes: 2 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,6 @@ 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"]

Expand Down Expand Up @@ -136,13 +129,12 @@ exclude = [
"node_modules",
"venv",
]
lint.per-file-ignores = {}

line-length = 200
indent-width = 4

# Assume Python 3.12.
target-version = "py312"
# Assume Python 3.10.
target-version = "py310"

[tool.ruff.lint]
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
Expand Down

0 comments on commit 24d20f3

Please sign in to comment.