mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
d7202883e9
* Remove bandit from CI, update poetry.lock&pre-commit-config.yaml * We don't support python 3.6 * poetry install also on tests flow * remove pytest-azurepipelines
40 lines
808 B
YAML
40 lines
808 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.0.1
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-docstring-first
|
|
- id: check-yaml
|
|
- id: debug-statements
|
|
- id: check-ast
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v2.27.0
|
|
hooks:
|
|
- id: pyupgrade
|
|
args: ['--py36-plus']
|
|
|
|
- repo: https://github.com/python/black
|
|
rev: 21.9b0
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://gitlab.com/pycqa/flake8
|
|
rev: 3.9.2
|
|
hooks:
|
|
- id: flake8
|
|
additional_dependencies: [flake8-docstrings]
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-isort
|
|
rev: v5.9.3
|
|
hooks:
|
|
- id: isort
|
|
additional_dependencies: [toml]
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v0.910
|
|
hooks:
|
|
- id: mypy
|
|
additional_dependencies: [types-click]
|