Skip to content

Commit e8d4752

Browse files
committed
add script to check designspace for problems
1 parent 32bbcd0 commit e8d4752

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
'''
2+
Check for DesignSpaceProblems:
3+
python <path>/check-ds-problems.py <designspacePath>
4+
5+
Requires DesignspaceProblems library:
6+
pip install git+https://github.com/LettError/DesignspaceProblems.git
7+
'''
8+
9+
import sys
10+
from pprint import pprint
11+
from designspaceProblems import DesignSpaceChecker
12+
13+
designspacePath = sys.argv[1]
14+
15+
dc = DesignSpaceChecker(designspacePath)
16+
dc.checkEverything()
17+
18+
# now all problems are stored in dc.problems
19+
pprint(dc.problems)

0 commit comments

Comments
 (0)