siznax / moo

🎷 Your music in your browser
MIT License
2 stars 2 forks source link

git hook for flake8, pylint #25

Open siznax opened 3 years ago

siznax commented 3 years ago

We should lint our code before commiting

siznax commented 3 years ago

For now...

$ flake8 Moo/play
$ pylint Moo/play
siznax commented 3 years ago
$ flake8 Moo/play
Moo/play/__init__.py:1:1: F401 '.lib' imported but unused
Moo/play/__init__.py:2:1: F401 '.config' imported but unused
Moo/play/__init__.py:4:1: F401 '.albums.MooAlbums' imported but unused
Moo/play/__init__.py:5:1: F401 '.search.MooSearch' imported but unused
siznax commented 3 years ago
$ pylint Moo/play
************* Module Moo.play
...
Your code has been rated at 9.92/10 (previous run: 9.92/10, +0.00)