Skip to content

Commit 57f8553

Browse files
committedJun 26, 2023
makefile, pycahce, error msf
1 parent c899f00 commit 57f8553

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__pycache__

‎Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
all:
2+
./test_bioscript.py
3+
./test_pycodestyle.py
4+
.PHONY: all

‎test_pycodestyle.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
# SOFTWARE.
2222

2323
import os
24-
import pycodestyle
24+
try:
25+
import pycodestyle
26+
except ImportError:
27+
print('Try `python3 -m pip install pycodestyle`')
28+
raise
2529

2630
pycodestyle.StyleGuide(paths=['--max-line-length=99']).check_files([os.path.dirname(__file__)])

0 commit comments

Comments
 (0)
Please sign in to comment.