Skip to content

Commit

Permalink
Управление dev зависимостями через poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
dext0r committed Oct 13, 2024
1 parent 1bb8798 commit 7942c34
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.config
custom_components/yandex_station
poetry.lock
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.4.1
rev: v0.6.9
hooks:
- id: ruff

- repo: https://github.com/psf/black
rev: 24.3.0
rev: 24.10.0
hooks:
- id: black

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
},
"step": {
"user": {
"title": "Вход в Яндекс"
"title": "Вход в Яндекс",
"data": {
"method": " "
}
},
"cookies": {
"title": "Вход через cookies",
Expand Down
19 changes: 18 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
[tool.poetry]
name = "ha-yandex-station-intents"
package-mode = false

[tool.poetry.dependencies]
python = ">=3.12,<3.13"

[tool.poetry.group.dev.dependencies]
pre-commit = "^4.0.1"
ruff = "^0.6.9"
isort = "^5.13.2"
black = "^24.10.0"

[tool.poetry.group.homeassistant.dependencies]
homeassistant = "2024.10.0"
colorlog = "^6.8.2"
numpy = "*"

[tool.black]
line-length = 120

Expand All @@ -10,7 +28,6 @@ known_first_party = [
"custom_components.yandex_station_intents",
"tests",
]
skip_glob= [".venv*/*"]

[tool.ruff]
target-version = "py311"
Expand Down
4 changes: 0 additions & 4 deletions requirements_dev.txt

This file was deleted.

0 comments on commit 7942c34

Please sign in to comment.