-
Notifications
You must be signed in to change notification settings - Fork 182
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
[DSLX] Auto-format documentation examples, enforce in documentation_test.py
#1832
[DSLX] Auto-format documentation examples, enforce in documentation_test.py
#1832
Conversation
docs_src/dslx_std.md
Outdated
@@ -549,16 +526,16 @@ dumping values to stdout. For example: | |||
// bazel run -c opt //xls/dslx:interpreter_main /path/to/dslx/file.x -- --alsologtostderr |
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.
Ugh copybara changes this line to make the doc-test fail due to differing line lengths.
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.
I think I'll need to fix this internally since the test is new.
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.
Or actually just moving this note out of the dslx block should be sufficient.
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.
Ok I think I did what you were looking for here, but LMK if not!
Trying to make an issue like #1831 not possible going forward via testing.
However, I was also not able to reproduce the issue reported in #1831, even with the directed tests in here cc @mikex-oss it's possible your
dslx_fmt
tool in that report was stale?