lint: Make format string linter understand basic template parameter syntax #13939

pull practicalswift wants to merge 1 commits into bitcoin:master from practicalswift:teach-format-string-linter-about-templates changing 1 files +37 −1
  1. practicalswift commented at 3:35 PM on August 10, 2018: contributor

    Make format string linter understand basic template parameter syntax.

    Fixes issue described in #13705 (comment).

    Thanks to @ken2812221 for reporting!

  2. Make format string linter understand basic template parameter syntax 4441ad677a
  3. laanwj commented at 3:52 PM on August 10, 2018: member

    utACK 4441ad677a4cdc70ecac63e03edb4e236e36801e thanks for addressing this quickly ! need to be tested on @ken2812221's code

  4. laanwj added the label Tests on Aug 10, 2018
  5. practicalswift commented at 10:11 AM on August 13, 2018: contributor

    The first doctest testcase added is the issue @ken2812221 encountered.

  6. ken2812221 commented at 10:42 AM on August 13, 2018: contributor

    Tested ACK 4441ad6. But strprintf("%d %d", b<2, c); would fail, it would success if I add space either side of <. Maybe it's a good linter to telling people to format code.

  7. ken2812221 referenced this in commit ef86f2631e on Aug 13, 2018
  8. MarcoFalke merged this on Aug 13, 2018
  9. MarcoFalke closed this on Aug 13, 2018

  10. practicalswift deleted the branch on Apr 10, 2021
  11. PastaPastaPasta referenced this in commit c62243ccf5 on Jun 27, 2021
  12. PastaPastaPasta referenced this in commit 4165dbc12a on Jun 28, 2021
  13. PastaPastaPasta referenced this in commit 1131377a0f on Jun 29, 2021
  14. PastaPastaPasta referenced this in commit 90e674cd15 on Jun 29, 2021
  15. PastaPastaPasta referenced this in commit 38cd8acf93 on Jun 29, 2021
  16. PastaPastaPasta referenced this in commit 674c68d39c on Jun 29, 2021
  17. PastaPastaPasta referenced this in commit 69c601c2c3 on Jun 29, 2021
  18. Fabcien referenced this in commit 5294ffff0f on Jan 11, 2022
  19. DrahtBot locked this on Aug 18, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-16 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me