Skip to content

Commit

Permalink
Merge pull request #546 from alandtse/dev
Browse files Browse the repository at this point in the history
chore: release 2023-03-23
  • Loading branch information
alandtse authored Mar 24, 2023
2 parents 7732d11 + 0cc8319 commit bf60f4b
Show file tree
Hide file tree
Showing 7 changed files with 385 additions and 325 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ jobs:
- run: python3 -m pip install black
- run: black .

todo:
runs-on: "ubuntu-latest"
name: Setup TODO issues
steps:
- uses: "actions/checkout@v3"
- name: "TODO to Issue"
uses: "alstr/todo-to-issue-action@v4"

tests:
runs-on: "ubuntu-latest"
name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ repos:
- id: prospector
exclude: ^(tests)/.+\.py$
- repo: https://github.com/PyCQA/bandit
rev: 1.7.4
rev: 1.7.5
hooks:
- id: bandit
args:
Expand Down
2 changes: 1 addition & 1 deletion custom_components/tesla_custom/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/alandtse/tesla/issues",
"loggers": ["teslajsonpy"],
"requirements": ["teslajsonpy==3.7.4"],
"requirements": ["teslajsonpy==3.7.5"],
"version": "3.10.3"
}
473 changes: 266 additions & 207 deletions poetry.lock

Large diffs are not rendered by default.

13 changes: 11 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,20 @@ license = "Apache-2.0"

[tool.poetry.dependencies]
python = "^3.10"
teslajsonpy = "^3.7.4"
teslajsonpy = "^3.7.5"


[tool.poetry.group.dev.dependencies]
homeassistant = ">=2022.11.0"
pytest-homeassistant-custom-component = ">=0.3.1"
pytest-homeassistant-custom-component = ">=0.13.1"
bandit = ">=1.7.0"
black = {version = ">=21.12b0", allow-prereleases = true}
mypy = ">=0.812"
pre-commit = ">=2.11.1"
pydocstyle = ">=6.0.0"
prospector = {extras = ["with_all"], version = ">=1.3.1"}
aiohttp_cors = ">=0.7.0"
pytest-asyncio = ">=0.20.3"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down Expand Up @@ -57,3 +58,11 @@ exclude = '''
# the root of the project
)
'''

[tool.pytest.ini_options]
minversion = "7.2"
addopts = "-ra -q"
testpaths = [
"tests",
]
asyncio_mode = "auto"
1 change: 0 additions & 1 deletion tests/bandit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ tests:
- B318
- B319
- B320
- B325
- B601
- B602
- B604
Expand Down
Loading

0 comments on commit bf60f4b

Please sign in to comment.