Skip to content

Commit

Permalink
Add isort in quality check
Browse files Browse the repository at this point in the history
  • Loading branch information
arjenbos committed Nov 2, 2023
1 parent 84c733f commit 9fb6190
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,26 @@ jobs:
# - name: pytest
# run: |
# pylint $(git ls-files '*.py')
isort:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: 'pip'
cache-dependency-path: |
**/setup.cfg
**/requirements*.txt
- name: Install dependencies
run: |
pip install -r requirements-test.txt
- name: run
run: |
isort custom_components/alpha_innotec --check-only
test:
runs-on: "ubuntu-latest"
steps:
Expand Down
3 changes: 2 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
backports.pbkdf2==0.1
pycryptodome==3.17
homeassistant==2023.9.0
pylint
pylint
isort

1 comment on commit 9fb6190

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.