Skip to content

Commit

Permalink
Use flake8 and pylint instead of pep8 (fatiando#382)
Browse files Browse the repository at this point in the history
flake8 is better than pep8 and easier to configure.

Added a "make lint" command to run pylint static analysis.
This won't break the build because there are so many failures
that it will take a long time to sort through.

Added "make check3" command to use pylint to check Python 3
compatibility. This will break the build if something doesn't pass.
It will make it easier for new code to be ported to Python 3.
I put in the effort of making the necessary adjustments for these
checks to pass.
  • Loading branch information
leouieda authored Mar 15, 2017
1 parent eedf56d commit 2725e9e
Show file tree
Hide file tree
Showing 86 changed files with 827 additions and 377 deletions.
5 changes: 5 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[flake8]
exclude =
fatiando/_version.py,
fatiando/_our_duecredit.py
ignore = F401,E226
Loading

0 comments on commit 2725e9e

Please sign in to comment.