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

Switch to ruff #11

Merged
merged 2 commits into from
Mar 11, 2024
Merged

Switch to ruff #11

merged 2 commits into from
Mar 11, 2024

Conversation

cyberw
Copy link
Collaborator

@cyberw cyberw commented Mar 11, 2024

No description provided.

* use unique names for processor methods to help with debugging
assert p.stdin # keep linter happy
p.stdin.write(stdout)
stdout, stderr = p.communicate()
# whatever.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mer gammalt som borde tas bort?

@@ -13,7 +14,7 @@ def process(entries: list[dict]):
"postData" not in r # not a post, ok for .rest
or r["postData"]["mimeType"] == "application/json" # json payload, also ok
):
logging.debug(f"{r['url']} is a rest request!")
# logging.debug(f"{r['url']} is a rest request!")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Det här kanske borde bort helt?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe. I wish there was a built in trace-level logging.

@cyberw cyberw merged commit 0ea03eb into main Mar 11, 2024
2 of 10 checks passed
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