Merge branch 'hotfix/fix-python-35-compatibility' into 'develop'
BUGFIX: Allow Python < 3.5 to work See merge request !3
This commit is contained in:
commit
3b6676668b
|
@ -5,4 +5,4 @@ LABEL Description="This image should provide environment to lint neotags" Vendor
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN pip install --upgrade pip
|
RUN pip install --upgrade pip
|
||||||
RUN pip install --no-cache-dir pep8 neovim pyfakefs
|
RUN pip install --no-cache-dir pep8 neovim pyfakefs==3.1
|
||||||
|
|
|
@ -44,7 +44,7 @@ Development
|
||||||
|
|
||||||
Install dependencies:
|
Install dependencies:
|
||||||
|
|
||||||
- ``pip install pyfakefs``
|
- ``pip install pyfakefs==3.1``
|
||||||
|
|
||||||
Run tests:
|
Run tests:
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ class NeotagsPlugin(object):
|
||||||
sys.stdout.write(line)
|
sys.stdout.write(line)
|
||||||
|
|
||||||
def generate_tags(self, tags_file, filename):
|
def generate_tags(self, tags_file, filename):
|
||||||
subprocess.run([
|
subprocess.call([
|
||||||
self.options['ctags_cmd'],
|
self.options['ctags_cmd'],
|
||||||
'-f',
|
'-f',
|
||||||
tags_file,
|
tags_file,
|
||||||
|
|
Loading…
Reference in a new issue