##// END OF EJS Templates
Make user_setup a top-level function in iplib and add better tests....
Make user_setup a top-level function in iplib and add better tests. This function has grown way too big and it needs a refactoring, but at least now it's a standalone thing (it didn't need to be a method) and can be called in a non-interactive fashion.

File last commit:

r1637:3d4a1f01
r1908:e550c146
Show More
check_sources.py
15 lines | 258 B | text/x-python | PythonLexer
from IPython.external.path import path
fs = path('..').walkfiles('*.py')
for f in fs:
errs = ''
cont = f.bytes()
if '\t' in cont:
errs+='t'
if '\r' in cont:
errs+='r'
if errs:
print "%3s" % errs, f