flask-extensions / Flask-GoogleMaps

Easy way to add GoogleMaps to Flask applications. maintainer: @getcake
https://flask-googlemaps.com
MIT License
647 stars 196 forks source link

Added pre-commit with just one hooks (flake8 to check line length). #113

Closed Bernardoow closed 3 years ago

Bernardoow commented 4 years ago

I added a pre-commit plugins. I added a old version (1.21.0 - JAN 2020) of this because the new versions pre-commit > 2.0 Just suport python 3+.

I added hook flake8 with one rule E501 - Line too long because on CI is used

      - name: Code Quality
        run: poetry run black . -l 80 --check
Bernardoow commented 4 years ago

PR failed on old code out of rule E501.

Riverfount commented 4 years ago

Hi @Bernardoow,

Please review this PR because it fails on all tests and has convflicts in two files. Solve them and we can merge the PR!