-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade required python version to 3.9, plus various linter fixes #285
Conversation
ext/zeek.py
Outdated
@@ -216,7 +211,7 @@ def add_target_and_index(self, name, sig, signode): | |||
objects[key] = self.env.docname | |||
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.