Skip to content

Commit

Permalink
Merge pull request #132 from GrandMoff100/fix-workflows
Browse files Browse the repository at this point in the history
Update workflows
  • Loading branch information
GrandMoff100 committed Nov 25, 2022
2 parents a6a2b67 + 7582329 commit 816011c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,26 @@ jobs:
steps:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Install Dependencies
run: |
pip install poetry
poetry config virtualenvs.create false
poetry install
- name: Run Black
run: black homeassistant_api --check
run: poetry run black homeassistant_api --check
- name: Run iSort
run: isort homeassistant_api --check-only
run: poetry run isort homeassistant_api --check-only
- name: Run Flake8
run: flake8 homeassistant_api
run: poetry run flake8 homeassistant_api
- name: Run MyPy
run: mypy homeassistant_api --show-error-codes
run: poetry run mypy homeassistant_api --show-error-codes
- name: Run PyLint
run: pylint homeassistant_api
run: poetry run pylint homeassistant_api
code_functionality:
name: "Code Functionality"
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion homeassistant_api/rawclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

class RawClient(RawBaseClient):
"""
The base object for interacting with Homeassistant
The base object for interacting with Homeassistant.
:param api_url: The location of the api endpoint. e.g. :code:`http://localhost:8123/api` Required.
:param token: The refresh or long lived access token to authenticate your requests. Required.
Expand Down

0 comments on commit 816011c

Please sign in to comment.