-
Notifications
You must be signed in to change notification settings - Fork 71
Upgrade required python version to 3.9, plus various linter fixes #285
Conversation
ext/zeek.py
Outdated
| self.update_type_map(name) | ||
|
|
||
| indextext = self.get_index_text(name) | ||
| #indextext = self.get_index_text(name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line can probably just be deleted, like the others that were unused.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. One minor nit in there that we could add but isn't important.
| from pygments.lexer import RegexLexer, bygroups, include, words, bygroups | ||
| from pygments.token import * | ||
| from pygments.lexer import RegexLexer, bygroups, include, words | ||
| from pygments.token import ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh, this is quite cool — it actually expanded the *?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this one I had to do manually
| ( | ||
| words( | ||
| ( | ||
| "any", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is one of the rare places where the earlier form was slightly more meaningful because it grouped by context within a line. But, no biggie.
b9fd865 to
fe96796
Compare
This is required by Python 3.13, which throws an error with any earlier version of Sphinx.
fe96796 to
aceb13f
Compare
No description provided.