Skip to content
This repository was archived by the owner on Apr 12, 2022. It is now read-only.

Sync pre-commit with poetry #62

Merged
merged 3 commits into from
Dec 7, 2020
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
54 changes: 28 additions & 26 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,39 @@ repos:
rev: v2.5.0
hooks:
- id: check-json
- id: check-yaml
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/python/black
rev: 19.10b0
- repo: local
hooks:
- id: black
language_version: python3.8
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
name: black
entry: black
language: system
types: [ python ]
- id: flake8
language_version: python3.8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.740
hooks:
- id: mypy
- repo: https://github.com/pre-commit/mirrors-pylint
rev: v2.4.4
hooks:
- id: pylint
- repo: https://github.com/asottile/seed-isort-config
rev: v1.9.4
hooks:
- id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
hooks:
name: flake8
entry: flake8
language: system
types: [ python ]
- id: isort
additional_dependencies: ['toml']
- repo: https://github.com/asottile/pyupgrade
rev: v2.7.4
hooks:
name: isort
entry: isort
language: system
types: [ python ]
- id: pyupgrade
name: pyupgrade
entry: pyupgrade
args: ["--py36-plus"]
language: system
types: [ python ]
- id: mypy
name: mypy
entry: mypy
language: system
types: [ python ]
- id: pylint
name: pylint
entry: pylint
language: system
types: [ python ]
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
good-names=id

[LOGGING]
logging-format-style=fstr
logging-format-style=new

[MESSAGES CONTROL]
disable=
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
### 0.10.0
* Drop support for Python 3.4 and 3.5
* Add support for Python 3.9
* Sync pre-commit dependencies with poetry
### 0.9.3
* Add geofencing mode for the thermostat
### 0.9.2
Expand Down
Loading