Skip to content
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

Merged
merged 6 commits into from
Dec 10, 2024

Conversation

timwoj
Copy link
Member

@timwoj timwoj commented Dec 4, 2024

No description provided.

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)
Copy link
Member Author

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.

Copy link
Member

@ckreibich ckreibich left a 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.

conf.py Outdated Show resolved Hide resolved
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 (
Copy link
Member

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 *?

Copy link
Member Author

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",
Copy link
Member

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.

@timwoj timwoj force-pushed the topic/timw/python-upgrade branch from b9fd865 to fe96796 Compare December 10, 2024 03:37
@timwoj timwoj force-pushed the topic/timw/python-upgrade branch from fe96796 to aceb13f Compare December 10, 2024 03:37
@timwoj timwoj merged commit 8ee119c into master Dec 10, 2024
11 checks passed
@timwoj timwoj deleted the topic/timw/python-upgrade branch December 10, 2024 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants