Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git hook for flake8, pylint #25

Open
siznax opened this issue Mar 11, 2021 · 3 comments
Open

git hook for flake8, pylint #25

siznax opened this issue Mar 11, 2021 · 3 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@siznax
Copy link
Owner

siznax commented Mar 11, 2021

We should lint our code before commiting

@siznax siznax self-assigned this Mar 11, 2021
@siznax siznax added bug Something isn't working good first issue Good for newcomers labels Mar 11, 2021
@siznax
Copy link
Owner Author

siznax commented Jun 10, 2021

For now...

$ flake8 Moo/play
$ pylint Moo/play

@siznax siznax changed the title git hook for pylint git hook for flake8, pylint Jun 10, 2021
@siznax
Copy link
Owner Author

siznax commented Jun 10, 2021

$ 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
Copy link
Owner Author

siznax commented Jun 10, 2021

$ pylint Moo/play
************* Module Moo.play
...
Your code has been rated at 9.92/10 (previous run: 9.92/10, +0.00)

@siznax siznax removed the bug Something isn't working label Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant