Show HN: Flake8 Markdown – lint Python code blocks in Markdown files(github.com)
github.com
Show HN: Flake8 Markdown – lint Python code blocks in Markdown files
https://github.com/johnfraney/flake8-markdown
https://github.com/johnfraney/flake8-markdown
It's a thin wrapper around Flake8[2] that extracts backtick-style Python code blocks from Markdown files, pipes those code blocks to flake8, and updates flake8's stdout output with line numbers from the original file.
Thanks for looking!
[1] https://poetry.eustace.io/
[2] http://flake8.pycqa.org/en/latest/
[3] https://pre-commit.com/