False Positives | Markdown in block strings
See original GitHub issueHello 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:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@RayOconnor please, feel free to submit a fix!
Sorry, I cannot reproduce.
Both
eradicate
andflake8-eradicate
are fine with both examples.