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

add a test case that checks for pep8 compliance #643

Merged
merged 2 commits into from Oct 2, 2013

Conversation

megies
Copy link
Member

@megies megies commented Oct 2, 2013

See http://tests.obspy.org/9690/#1 for a test example of the current master.

I also want to find out untracked files and exclude them if git is available via a system call. But I'll wait if the idea gets accepted in matplotlib, because I'll do it there then.

megies and others added 2 commits October 2, 2013 12:43
 - among other things, this will make it easy to spot pep8 pollution in
   pull requests before merging
 - currently won't work because it depends on changes in matplotlib
   (see matplotlib/matplotlib#2486), have to wait and see how that turns
   out
@krischer
Copy link
Member

krischer commented Oct 2, 2013

+1

I like this! I added an optional dependency on pep8 to the setup.py. We could also integrate a full flake8 check in the test suite.

krischer added a commit that referenced this pull request Oct 2, 2013
add a test case that checks for pep8 compliance
@krischer krischer merged commit f12058f into obspy:master Oct 2, 2013
megies added a commit that referenced this pull request Oct 2, 2013
 - add pep8 to debian package recommends
 - install newest matplotlib in travis
 - skip pep8 test if matplotlib is < 1.4
 - add more test dependencies to extra_requires in setup.py
@krischer krischer mentioned this pull request Oct 2, 2013
@megies megies deleted the pep8_tests branch October 2, 2013 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.core issues affecting our functionality at the very core enhancement feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants