frequenz-floss / frequenz-repo-config-python

Frequenz repository setup tools and common configuration for Python
https://frequenz-floss.github.io/frequenz-repo-config-python/
MIT License
4 stars 7 forks source link

Add `frequenz-pymdownx-superfences-filter-lines` #190

Open llucax opened 11 months ago

llucax commented 11 months ago

What's needed?

We need to avoid showing boilerplate code when we want to just quickly show an abstract example in the docs, but we still want to make sure that code works, so it needs the boilerplate to pass, for example, pylint checks.

Proposed solution

Use [frequenz-pymdownx-superfences-filter-lines(https://github.com/frequenz-floss/frequenz-pymdownx-superfences-filter-lines-python) to select which lines to show in examples.

llucax commented 8 months ago

Example: