-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update devcontainer to python 3.12 and replace linters/formatters wit…
…h ruff
- Loading branch information
1 parent
a0a6fc3
commit 83ef921
Showing
3 changed files
with
14 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
|
||
[tool.isort] | ||
# https://pycqa.github.io/isort/docs/configuration/options.html | ||
profile = "black" | ||
# will group `import x` and `from x import` of the same module. | ||
force_sort_within_sections = true | ||
known_first_party = ["homeassistant", "tests"] | ||
forced_separate = ["tests"] | ||
combine_as_imports = true | ||
[tool.ruff.lint.isort] | ||
force-sort-within-sections = true | ||
known-first-party = ["homeassistant", "tests"] | ||
forced-separate = ["tests"] | ||
combine-as-imports = true | ||
split-on-trailing-comma = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,6 @@ deepdiff | |
ical | ||
|
||
# Development | ||
black | ||
colorlog==6.7.0 | ||
pip>=21.0 | ||
pylint>=2.17.3 | ||
ruff==0.0.255 | ||
ruff==0.2.2 |