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

Enforce TODO formatting #3404

Merged
merged 3 commits into from
Sep 22, 2023
Merged

Enforce TODO formatting #3404

merged 3 commits into from
Sep 22, 2023

Conversation

teh-cmc
Copy link
Member

@teh-cmc teh-cmc commented Sep 22, 2023

A trivial PR to enforce the formatting of TODOs.

This is groundwork for an upcoming PR that checks for zombie TODOs on CI (TODOs that reference an issue that is already fixed).

TL;DR: these are legal, everything else is not (hopefully):

  • TODO(bob)
  • TODO(bob, alice)
  • TODO(#42)
  • TODO(#42, #43)
  • TODO(rust-lang/rust#42)
  • TODO(rust-lang/rust#42, rust-lang/rust#43)

What

Checklist

@teh-cmc teh-cmc added 🧑‍💻 dev experience developer experience (excluding CI) exclude from changelog PRs with this won't show up in CHANGELOG.md labels Sep 22, 2023
scripts/lint.py Outdated Show resolved Hide resolved
@Wumpf Wumpf self-requested a review September 22, 2023 10:03
Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

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

nice!

@@ -570,7 +570,7 @@ def __call__(
)
rr.log_tensor("diffusion/latents", latents, names=["b", "c", "h", "w"])

# 8. Prepare extra step kwargs. TODO(original author): Logic should ideally just be moved out of the pipeline
# 8. Prepare extra step kwargs. TODO(someone): Logic should ideally just be moved out of the pipeline
Copy link
Member

Choose a reason for hiding this comment

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

😆

@teh-cmc teh-cmc force-pushed the cmc/todo_formatting branch from 2341b69 to 4537718 Compare September 22, 2023 10:06
@teh-cmc teh-cmc merged commit 5acb22b into main Sep 22, 2023
@teh-cmc teh-cmc deleted the cmc/todo_formatting branch September 22, 2023 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧑‍💻 dev experience developer experience (excluding CI) exclude from changelog PRs with this won't show up in CHANGELOG.md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants