Skip to content

Commit

Permalink
Move pre-commit flake8 to local repo (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinHjelmare authored Jun 20, 2022
1 parent 897c67e commit 9758328
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,6 @@ repos:
- --safe
- --quiet
files: ^(pytradfri|examples|tests)/.+\.py$
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
name: flake8
entry: flake8
additional_dependencies:
- flake8-docstrings==1.6.0
- flake8-comprehensions==3.10.0
- flake8-noqa==1.2.2
files: ^(pytradfri|examples|tests)/.+\.py$
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
Expand All @@ -33,6 +22,14 @@ repos:
- id: no-commit-to-branch
args:
- --branch=master
- repo: local
hooks:
- id: flake8
name: flake8
entry: flake8
language: system
types: [python]
files: ^(pytradfri|examples|tests)/.+\.py$
- repo: local
hooks:
- id: pylint
Expand Down

0 comments on commit 9758328

Please sign in to comment.