Skip to content

Commit

Permalink
Merge pull request #113 from Bernardoow/adding_pre_commit
Browse files Browse the repository at this point in the history
Added pre-commit  with just one hooks (flake8 to check line length).
  • Loading branch information
Riverfount authored Feb 25, 2021
2 parents 0fc07fd + 40fc051 commit 43ab75c
Show file tree
Hide file tree
Showing 4 changed files with 253 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
repos:
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.9
hooks:
- id: flake8
args: ['--select=E501']
language_version: python3
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ cd Flask-GoogleMaps
poetry use env 3.8 # just to create virtualenv at the first time
poetry shell # activate virtualenv
poetry install # to install all for dev
pre-commit install # to install pre-commit hooks
```

## Installation
Expand Down
Loading

0 comments on commit 43ab75c

Please sign in to comment.