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
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>
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
|
Some 3 markdownlint ignores are present in the docs. Would you do a global find on them? |
e7c23dd to
1cfd263
Compare
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
1cfd263 to
26e32d1
Compare
|
figueroa1395
left a comment
There was a problem hiding this comment.
I see the potential issues were addressed. The remaining "exception" blocks from the linter are acceptable to me: only long equations and graphs, as far as I can tell.
The table issue has been resolved.
LGTM.



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-->.