Skip to content

Commit

Permalink
Fix the failing build (#299)
Browse files Browse the repository at this point in the history
* Fix the build (line to long error).


Co-authored-by: Patric Theune <[email protected]>
  • Loading branch information
dutchedge and Patric Theune authored Aug 13, 2020
1 parent ed503e3 commit 5d7790a
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
21 changes: 21 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

echo Create Virtual Environment
python3 -m venv venv

echo Activate Virtual Environment
source venv/bin/activate

# Why is development mode necessary ?
pip install -e .

echo Prepare requirements within the Virtual Environments
venv/bin/pip install -r dev_requirements.txt

echo Install setup.py
python setup.py build install

make

echo Deactivate Virtual Environment
deactivate
1 change: 1 addition & 0 deletions dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
mock
pygments==2.3.1
nose
pycodestyle
wheel
Expand Down
3 changes: 2 additions & 1 deletion lizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ def unqualified_name(self):

@property
def parameters(self):
matches = [re.search(r'(\w+)(\s=.*)?$', f) for f in self.full_parameters]
matches = [re.search(r'(\w+)(\s=.*)?$', f)
for f in self.full_parameters]
return [m.group(1) for m in matches if m]

def add_to_function_name(self, app):
Expand Down
2 changes: 1 addition & 1 deletion lizard_ext/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Add a new version in the CHANGELOG.md in the root folder instead
#
# pylint: disable=missing-docstring,invalid-name
version = "1.17.3"
version = "1.17.3.1"

0 comments on commit 5d7790a

Please sign in to comment.