question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

False Positives | Markdown in block strings

See original GitHub issue

Hello the following code is now getting flagged as E800 Found commented out code This has only just started getting flagged with the upgrade from 1.0.0 -> 1.1.0

Example code:

MARKDOWN = """
# {variable_containing_header_one}
Lots of content here...
"""

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
sobolevncommented, Jun 28, 2021

@RayOconnor please, feel free to submit a fix!

0reactions
sobolevncommented, Oct 21, 2021

Sorry, I cannot reproduce.

Both eradicate and flake8-eradicate are fine with both examples. Снимок экрана 2021-10-21 в 10 56 18

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python string literals in Markdown documents are treated as ...
When placed in a markdown document, both the "abc" string literals are treated as bytes causing a false-positive when calling expect_str and false-negative...
Read more >
Handling False Positives with the OWASP ModSecurity Core ...
Step 1: Defining a Policy to Fight False Positives ... The default installation comes in blocking mode and with an anomaly threshold of...
Read more >
Troubleshooting - mkdocstrings
For false-positives, you can wrap the text in backticks (`) to prevent mkdocstrings from trying to process it. Python specifics¤. Nothing is rendered...
Read more >
'code that is not properly formatted as code' false positive? - Meta ...
The problem is with the Markdown image link ![polygon-segment clipping diagram][diagram] ... [diagram]: http://i.stack.imgur.com/aI6Y2.png.
Read more >
Markdown reference for Microsoft Learn - Contributor guide
Angle brackets don't have to be escaped in text formatted as inline code or in code blocks. Apostrophes and quotation marks. If you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found