Skip to content

Commit bf60f4b

Browse files
authored
Merge pull request #546 from alandtse/dev
chore: release 2023-03-23
2 parents 7732d11 + 0cc8319 commit bf60f4b

File tree

7 files changed

+385
-325
lines changed

7 files changed

+385
-325
lines changed

.github/workflows/push.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ jobs:
3232
- run: python3 -m pip install black
3333
- run: black .
3434

35+
todo:
36+
runs-on: "ubuntu-latest"
37+
name: Setup TODO issues
38+
steps:
39+
- uses: "actions/checkout@v3"
40+
- name: "TODO to Issue"
41+
uses: "alstr/todo-to-issue-action@v4"
42+
3543
tests:
3644
runs-on: "ubuntu-latest"
3745
name: Run tests

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ repos:
7171
- id: prospector
7272
exclude: ^(tests)/.+\.py$
7373
- repo: https://github.com/PyCQA/bandit
74-
rev: 1.7.4
74+
rev: 1.7.5
7575
hooks:
7676
- id: bandit
7777
args:

custom_components/tesla_custom/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
"iot_class": "cloud_polling",
2323
"issue_tracker": "https://github.com/alandtse/tesla/issues",
2424
"loggers": ["teslajsonpy"],
25-
"requirements": ["teslajsonpy==3.7.4"],
25+
"requirements": ["teslajsonpy==3.7.5"],
2626
"version": "3.10.3"
2727
}

poetry.lock

Lines changed: 266 additions & 207 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,20 @@ license = "Apache-2.0"
77

88
[tool.poetry.dependencies]
99
python = "^3.10"
10-
teslajsonpy = "^3.7.4"
10+
teslajsonpy = "^3.7.5"
1111

1212

1313
[tool.poetry.group.dev.dependencies]
1414
homeassistant = ">=2022.11.0"
15-
pytest-homeassistant-custom-component = ">=0.3.1"
15+
pytest-homeassistant-custom-component = ">=0.13.1"
1616
bandit = ">=1.7.0"
1717
black = {version = ">=21.12b0", allow-prereleases = true}
1818
mypy = ">=0.812"
1919
pre-commit = ">=2.11.1"
2020
pydocstyle = ">=6.0.0"
2121
prospector = {extras = ["with_all"], version = ">=1.3.1"}
2222
aiohttp_cors = ">=0.7.0"
23+
pytest-asyncio = ">=0.20.3"
2324

2425
[build-system]
2526
requires = ["poetry-core>=1.0.0"]
@@ -57,3 +58,11 @@ exclude = '''
5758
# the root of the project
5859
)
5960
'''
61+
62+
[tool.pytest.ini_options]
63+
minversion = "7.2"
64+
addopts = "-ra -q"
65+
testpaths = [
66+
"tests",
67+
]
68+
asyncio_mode = "auto"

tests/bandit.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ tests:
1313
- B318
1414
- B319
1515
- B320
16-
- B325
1716
- B601
1817
- B602
1918
- B604

0 commit comments

Comments
 (0)