summaryrefslogtreecommitdiff
path: root/reporters
diff options
context:
space:
mode:
authorJT Olds <jtolds@xnet5.com>2012-05-15 14:52:44 +0200
committerJT Olds <jtolds@xnet5.com>2012-05-15 14:52:44 +0200
commitc4fc07f28999f7a5234209fdfae271f92549edf1 (patch)
tree31eb83619eddd85b4ff766d1dff1257f6b2a72f3 /reporters
parentaf3e487e5ebfdc2113e975a61308c5bf46d3cbb8 (diff)
downloadpylint-c4fc07f28999f7a5234209fdfae271f92549edf1.tar.gz
Make pythonpath behaviour closer to python's (closes #88218)
When pylint is called with a single filename as argument, walk its path backwards to find the first directory that doesn't have a __init__.py, and add that to sys.path instead of the cwd.
Diffstat (limited to 'reporters')
0 files changed, 0 insertions, 0 deletions