Repository navigation
Conversation
"the the expected ones" in test_chef_pipeline, "data for for the node" in views/internal, and "Check that set set a cache-control" in test_gcs_storage, which was missing a word rather than repeating one.
|
👋 Hi @marekl11, thanks for contributing! For the review process to begin, please verify that the following is satisfied:
Also check that issue requirements are satisfied & you ran Pull requests that don't follow the guidelines will be closed. Reviewer assignment can take up to 2 weeks. |
Three docstrings with a repeated word: "are the the expected ones" in
test_chef_pipeline.py and "children data for for the node" in
views/internal.py. The third, in test_gcs_storage.py, read "Check that set
set a cache-control of private" - that one was missing a word rather than
repeating one, so it now reads "Check that we set a cache-control".
I also added a second small commit to this PR instead of opening another one:
in
tests/utils/test_markdown.pythree LaTeX strings (x\cdot y=z^2and\sum_{i=1}^{n} x_i = y) carried a# noqa W605because\cand\sare notPython escapes. They are raw strings now, so the suppressions are gone. Python
reads them as the same text - I compared every string constant in the module
before and after and they are identical - and flake8 is clean on the file.
AI usage
docstrings and comments, to find the
noqa W605suppressions, and to applythe resulting small edits.
the search at face value, and confirmed none of the three docstrings is
asserted on by a test or used as a translation key. For the raw strings I
checked that the parsed string values did not change.
"Check that set set a cache-control of private" is a missing word, not
a repeated one, so it now reads "Check that we set a cache-control".
doubled-word search returns three different kinds of hit - real
duplicates, missing words, and deliberate repetition - so the
candidates have to be read individually. Here one of three was not a
plain duplicate.
Docstrings and test string literals only; no code paths or user-facing text change.