~kf5jwc/garretts-plugin-google

db93346cc356856a6ea520a97e8f3ef07d6d1d6c — Kyle Jones 1 year, 5 months ago 67de206
Set up black and flake8 via pre-commit
3 files changed, 15 insertions(+), 0 deletions(-)

A .flake8
A .pre-commit-config.yaml
M Pipfile
A .flake8 => .flake8 +3 -0
@@ 0,0 1,3 @@
[flake8]
max-line-length = 90
exclude = __init__.py

A .pre-commit-config.yaml => .pre-commit-config.yaml +10 -0
@@ 0,0 1,10 @@
repos:
-   repo: https://github.com/ambv/black
    rev: stable
    hooks:
    - id: black
      #language_version: python3.6
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v1.2.3
    hooks:
    - id: flake8

M Pipfile => Pipfile +2 -0
@@ 11,6 11,8 @@ google-cloud-texttospeech = "*"
mypy = "*"
black = "*"
flit = "*"
pre-commit = "*"
"flake8" = "*"

[requires]
python_version = "3.7"