Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ jobs:
- name: "Run check-ast"
run: |
poetry run pre-commit run check-ast --all-files
- name: "Potential security issues (bandit)"
run: |
poetry run pre-commit run bandit --all-files


tests:
name: "Python ${{ matrix.python-version}} on ${{ matrix.os }}"
Expand All @@ -65,7 +61,7 @@ jobs:

strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "pypy3"]
python-version: ["3.7", "3.8", "3.9", "pypy3"]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand All @@ -76,6 +72,7 @@ jobs:
- name: "Install dependencies"
run: |
python -m pip install --upgrade pip poetry
poetry install
- name: "Run tests"
run: |
poetry run pytest --cov kasa --cov-report xml
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ repos:
- id: check-ast

- repo: https://github.com/asottile/pyupgrade
rev: v2.19.4
rev: v2.27.0
hooks:
- id: pyupgrade
args: ['--py36-plus']

- repo: https://github.com/python/black
rev: 21.6b0
rev: 21.9b0
hooks:
- id: black

Expand All @@ -27,13 +27,13 @@ repos:
additional_dependencies: [flake8-docstrings]

- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.8.0
rev: v5.9.3
hooks:
- id: isort
additional_dependencies: [toml]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.902
rev: v0.910
hooks:
- id: mypy
additional_dependencies: [types-click]
Loading