CI: use pymarkdownlnt - #1502
Conversation
b765f65 to
8435022
Compare
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com> update workflows Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com> remove markdownlint-cli from devcontainer Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com> fix pre-commit Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com> more fixes Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com> more fixes Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com> homogenize Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com> fix pyproject.toml Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com> minor Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com> no run locked (scoped out of pr) Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com> fix ci Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com> scope out npm packages from refresher Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com> Refresh lock and linter dependencies Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> fix Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
048d6ba to
38a2b6a
Compare
| <!-- pyml disable commands-show-output--> | ||
| ```powershell | ||
| $env:CMAKE_PREFIX_PATH = C:\conda_envs\cpp_pkgs\Library | ||
| ``` | ||
| <!-- pyml enable commands-show-output--> |
There was a problem hiding this comment.
some kind of weird false positive where a $ is interpreted as unix $, not as Windows $
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…k-and-linter Refresh lock and linter dependencies
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…k-and-linter Refresh lock and linter dependencies
| - name: Install npm packages | ||
| run: | | ||
| echo "Running markdownlint" | ||
| npx markdownlint --fix . | ||
| npm ci |
There was a problem hiding this comment.
This is to be removed altogether is the custom json formatter is accepted, right? It was just a bit weird to see these changes here.
There was a problem hiding this comment.
Yes indeed. This is just github diff that's messed up because this line was also at the start of this block but apparently it thinks i "removed" that line but i did not
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
56c0d4d to
5857ad6
Compare
|
|
||
| 2. If neither `p_sigma` nor `q_sigma` are provided, `power_sigma` represents the standard deviation of the apparent | ||
| power. In this case, infinite value of `power_sigma` disables the entire measurement. | ||
| <!-- pyml enable line-length--> |
There was a problem hiding this comment.
| <!-- pyml enable line-length--> |
| plugins.line-length.line_length = 120 | ||
| plugins.line-length.heading_line_length = 120 | ||
| plugins.line-length.code_block_line_length = 120 |
There was a problem hiding this comment.
TODO: check if we can disable line length on code blocks and tables. if not, then disable entirely
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
|



In light of recent events, we are aiming to reduce our amount of dependencies - in particular the
npmones. That means we need to migrate to a markdown linter in the PyPI ecosystem.Relates to #1499 and #1501 .
Important things to note:
<!-- pyml disable line-length-->and<!-- pyml enable line-length-->.