Skip to content

Commit

Permalink
Some fixes for static type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-zeller committed Aug 27, 2024
1 parent 2ab915b commit b99a403
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion notebooks/Parser.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,7 @@
" rule_.extend(token)\n",
" rules_.append(rule_)\n",
" g_[key] = rules_\n",
" return g_"
" return g_ # type: ignore"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions notebooks/ProbabilisticGrammarFuzzer.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
"labels = range(1, 10)\n",
"fig1, ax1 = plt.subplots()\n",
"ax1.pie(digit_probs, labels=labels, shadow=True, autopct='%1.1f%%',\n",
" counterclock=False, startangle=90)\n",
" counterclock=False, startangle=90) # type: ignore\n",
"ax1.axis('equal');"
]
},
Expand Down Expand Up @@ -2860,7 +2860,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
"version": "3.11.6"
},
"toc": {
"base_numbering": 1,
Expand Down

0 comments on commit b99a403

Please sign in to comment.