We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32bbcd0 commit e8d4752Copy full SHA for e8d4752
src/01-shell-scripts-for-sources/checking-similarity-between-fonts/check-ds-problems.py
@@ -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