Re: [code-quality] Unable to import 'os' (import-error)

2017-01-31 Thread Barry Warsaw
On Jan 31, 2017, at 08:29 AM, Bill D wrote: >$ cat li.py >#!/usr/bin/env python ^^ >"""foobar""" >import os >print os.listdir(os.curdir) > >$ /usr/local/bin//pylint --version ^ It could be you're mixing up your Python interpreter and runtimes. E.g.

[code-quality] flake8 v3 --enable-extensions

2016-10-18 Thread Barry Warsaw
I'm having trouble getting flake8 v3's --enable-extensions feature to work the way I want it. It's possible that I'm misunderstanding how it's supposed to work. I have a checker plugin that starts out like: class ImportOrder: name = 'flufl-import-order' version = '0.2'