Skip to content

Commit 9d5e853

Browse files
committed
Added pre-commit with just one hooks (flake8 to check line length).
1 parent a02a730 commit 9d5e853

File tree

4 files changed

+232
-4
lines changed

4 files changed

+232
-4
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
repos:
2+
- repo: https://gitlab.com/pycqa/flake8
3+
rev: 3.7.9
4+
hooks:
5+
- id: flake8
6+
args: ['--select=E501']
7+
language_version: python3

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ cd Flask-GoogleMaps
2828
poetry use env 3.8 # just to create virtualenv at the first time
2929
poetry shell # activate virtualenv
3030
poetry install # to install all for dev
31+
pre-commit install # to install pre-commit hooks
3132
```
3233
## Installation
3334

poetry.lock

Lines changed: 223 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)