Skip to content

Commit b99a403

Browse files
Some fixes for static type checking
1 parent 2ab915b commit b99a403

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

notebooks/Parser.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1478,7 +1478,7 @@
14781478
" rule_.extend(token)\n",
14791479
" rules_.append(rule_)\n",
14801480
" g_[key] = rules_\n",
1481-
" return g_"
1481+
" return g_ # type: ignore"
14821482
]
14831483
},
14841484
{

notebooks/ProbabilisticGrammarFuzzer.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@
272272
"labels = range(1, 10)\n",
273273
"fig1, ax1 = plt.subplots()\n",
274274
"ax1.pie(digit_probs, labels=labels, shadow=True, autopct='%1.1f%%',\n",
275-
" counterclock=False, startangle=90)\n",
275+
" counterclock=False, startangle=90) # type: ignore\n",
276276
"ax1.axis('equal');"
277277
]
278278
},
@@ -2860,7 +2860,7 @@
28602860
"name": "python",
28612861
"nbconvert_exporter": "python",
28622862
"pygments_lexer": "ipython3",
2863-
"version": "3.9.7"
2863+
"version": "3.11.6"
28642864
},
28652865
"toc": {
28662866
"base_numbering": 1,

0 commit comments

Comments
 (0)