frequenz-floss / frequenz-sdk-python

Frequenz Python Software Development Kit (SDK)
https://frequenz-floss.github.io/frequenz-sdk-python/
MIT License
13 stars 17 forks source link

Lint all examples in docstrings #380

Open leandro-lucarella-frequenz opened 1 year ago

leandro-lucarella-frequenz commented 1 year ago

We should run all the same linting tools that we use for the source code on the examples in docstrings:

We should probably support a way to pass extra configuration when applying to examples, as they are not full pieces of code.

leandro-lucarella-frequenz commented 1 year ago

First step towards this:

llucax commented 1 year ago

Examples are now being checked with pylint.