Skip to content

Commit

Permalink
Deployed fcd3308 with MkDocs version: 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Jun 13, 2024
1 parent afbf2df commit 804017a
Show file tree
Hide file tree
Showing 80 changed files with 3,039 additions and 1,420 deletions.
2 changes: 1 addition & 1 deletion 404.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/_markdown_exec_pyodide.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ html[data-theme="dark"] {
.pyodide-output {
width: 100%;
margin-bottom: -15px;
min-height: 46px;
max-height: 400px
}

Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion changelog/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion code_of_conduct/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions contributing/index.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions coverage/coverage_html.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function on_click(sel, fn) {

// Helpers for table sorting
function getCellValue(row, column = 0) {
const cell = row.cells[column]
const cell = row.cells[column] // nosemgrep: eslint.detect-object-injection
if (cell.childElementCount == 1) {
const child = cell.firstElementChild
if (child instanceof HTMLTimeElement && child.dateTime) {
Expand Down Expand Up @@ -100,7 +100,7 @@ coverage.wire_up_filter = function () {
// Keep running total of each metric, first index contains number of shown rows
const totals = new Array(table.rows[0].cells.length).fill(0);
// Accumulate the percentage as fraction
totals[totals.length - 1] = { "numer": 0, "denom": 0 };
totals[totals.length - 1] = { "numer": 0, "denom": 0 }; // nosemgrep: eslint.detect-object-injection

// Hide / show elements.
table_body_rows.forEach(row => {
Expand All @@ -116,14 +116,14 @@ coverage.wire_up_filter = function () {

for (let column = 1; column < totals.length; column++) {
// Accumulate dynamic totals
cell = row.cells[column]
cell = row.cells[column] // nosemgrep: eslint.detect-object-injection
if (column === totals.length - 1) {
// Last column contains percentage
const [numer, denom] = cell.dataset.ratio.split(" ");
totals[column]["numer"] += parseInt(numer, 10);
totals[column]["denom"] += parseInt(denom, 10);
totals[column]["numer"] += parseInt(numer, 10); // nosemgrep: eslint.detect-object-injection
totals[column]["denom"] += parseInt(denom, 10); // nosemgrep: eslint.detect-object-injection
} else {
totals[column] += parseInt(cell.textContent, 10);
totals[column] += parseInt(cell.textContent, 10); // nosemgrep: eslint.detect-object-injection
}
}
});
Expand All @@ -144,22 +144,22 @@ coverage.wire_up_filter = function () {
// Calculate new dynamic sum values based on visible rows.
for (let column = 1; column < totals.length; column++) {
// Get footer cell element.
const cell = footer.cells[column];
const cell = footer.cells[column]; // nosemgrep: eslint.detect-object-injection

// Set value into dynamic footer cell element.
if (column === totals.length - 1) {
// Percentage column uses the numerator and denominator,
// and adapts to the number of decimal places.
const match = /\.([0-9]+)/.exec(cell.textContent);
const places = match ? match[1].length : 0;
const { numer, denom } = totals[column];
const { numer, denom } = totals[column]; // nosemgrep: eslint.detect-object-injection
cell.dataset.ratio = `${numer} ${denom}`;
// Check denom to prevent NaN if filtered files contain no statements
cell.textContent = denom
? `${(numer * 100 / denom).toFixed(places)}%`
: `${(100).toFixed(places)}%`;
} else {
cell.textContent = totals[column];
cell.textContent = totals[column]; // nosemgrep: eslint.detect-object-injection
}
}
}));
Expand All @@ -184,7 +184,7 @@ coverage.index_ready = function () {

if (stored_list) {
const {column, direction} = JSON.parse(stored_list);
const th = document.querySelector("[data-sortable]").tHead.rows[0].cells[column];
const th = document.querySelector("[data-sortable]").tHead.rows[0].cells[column]; // nosemgrep: eslint.detect-object-injection
th.setAttribute("aria-sort", direction === "ascending" ? "descending" : "ascending");
th.click()
}
Expand Down Expand Up @@ -250,7 +250,7 @@ coverage.pyfile_ready = function () {
}

for (cls in coverage.filters) {
coverage.set_line_visibilty(cls, coverage.filters[cls]);
coverage.set_line_visibilty(cls, coverage.filters[cls]); // nosemgrep: eslint.detect-object-injection
}

coverage.assign_shortkeys();
Expand Down
68 changes: 43 additions & 25 deletions coverage/covindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<header>
<div class="content">
<h1>Coverage report:
<span class="pc_cov">81.30%</span>
<span class="pc_cov">70.71%</span>
</h1>
<aside id="help_panel_wrapper">
<input id="help_panel_state" type="checkbox">
Expand Down Expand Up @@ -46,8 +46,8 @@ <h1>Coverage report:
<input id="filter" type="text" value="" placeholder="filter..." />
</form>
<p class="text">
<a class="nav" href="https://coverage.readthedocs.io/en/7.2.3">coverage.py v7.2.3</a>,
created at 2023-04-26 22:45 +0200
<a class="nav" href="https://coverage.readthedocs.io/en/7.4.4">coverage.py v7.4.4</a>,
created at 2024-05-20 20:15 +0200
</p>
</div>
</header>
Expand All @@ -65,6 +65,15 @@ <h1>Coverage report:
</tr>
</thead>
<tbody>
<tr class="file">
<td class="name left"><a href="d_49b8b38e36e48c02_debug_py.html">src/markdown_exec/debug.py</a></td>
<td>63</td>
<td>63</td>
<td>0</td>
<td>20</td>
<td>0</td>
<td class="right" data-ratio="0 83">0.00%</td>
</tr>
<tr class="file">
<td class="name left"><a href="d_3066f438197cb952___init___py.html">src/markdown_exec/formatters/__init__.py</a></td>
<td>0</td>
Expand Down Expand Up @@ -119,14 +128,23 @@ <h1>Coverage report:
<td>0</td>
<td class="right" data-ratio="21 21">100.00%</td>
</tr>
<tr class="file">
<td class="name left"><a href="d_3066f438197cb952_pyodide_py.html">src/markdown_exec/formatters/pyodide.py</a></td>
<td>16</td>
<td>9</td>
<td>2</td>
<td>2</td>
<td>0</td>
<td class="right" data-ratio="7 18">38.89%</td>
</tr>
<tr class="file">
<td class="name left"><a href="d_3066f438197cb952_python_py.html">src/markdown_exec/formatters/python.py</a></td>
<td>44</td>
<td>50</td>
<td>2</td>
<td>0</td>
<td>14</td>
<td>2</td>
<td class="right" data-ratio="54 58">93.10%</td>
<td class="right" data-ratio="60 64">93.75%</td>
</tr>
<tr class="file">
<td class="name left"><a href="d_3066f438197cb952_sh_py.html">src/markdown_exec/formatters/sh.py</a></td>
Expand Down Expand Up @@ -157,12 +175,12 @@ <h1>Coverage report:
</tr>
<tr class="file">
<td class="name left"><a href="d_49b8b38e36e48c02_mkdocs_plugin_py.html">src/markdown_exec/mkdocs_plugin.py</a></td>
<td>46</td>
<td>46</td>
<td>3</td>
<td>2</td>
<td>66</td>
<td>66</td>
<td>4</td>
<td>8</td>
<td>0</td>
<td class="right" data-ratio="0 48">0.00%</td>
<td class="right" data-ratio="0 74">0.00%</td>
</tr>
<tr class="file">
<td class="name left"><a href="d_49b8b38e36e48c02_processors_py.html">src/markdown_exec/processors.py</a></td>
Expand All @@ -175,12 +193,12 @@ <h1>Coverage report:
</tr>
<tr class="file">
<td class="name left"><a href="d_49b8b38e36e48c02_rendering_py.html">src/markdown_exec/rendering.py</a></td>
<td>96</td>
<td>100</td>
<td>6</td>
<td>3</td>
<td>26</td>
<td>34</td>
<td>4</td>
<td class="right" data-ratio="110 122">90.16%</td>
<td class="right" data-ratio="122 134">91.04%</td>
</tr>
<tr class="file">
<td class="name left"><a href="d_a44f0ac069e85531_conftest_py.html">tests/conftest.py</a></td>
Expand All @@ -205,18 +223,18 @@ <h1>Coverage report:
<td>20</td>
<td>0</td>
<td>2</td>
<td>2</td>
<td>0</td>
<td>0</td>
<td class="right" data-ratio="20 20">100.00%</td>
<td class="right" data-ratio="22 22">100.00%</td>
</tr>
<tr class="file">
<td class="name left"><a href="d_a44f0ac069e85531_test_python_py.html">tests/test_python.py</a></td>
<td>34</td>
<td>37</td>
<td>0</td>
<td>3</td>
<td>0</td>
<td>0</td>
<td class="right" data-ratio="34 34">100.00%</td>
<td class="right" data-ratio="37 37">100.00%</td>
</tr>
<tr class="file">
<td class="name left"><a href="d_a44f0ac069e85531_test_shell_py.html">tests/test_shell.py</a></td>
Expand Down Expand Up @@ -258,12 +276,12 @@ <h1>Coverage report:
<tfoot>
<tr class="total">
<td class="name left">Total</td>
<td>558</td>
<td>91</td>
<td>27</td>
<td>132</td>
<td>672</td>
<td>183</td>
<td>30</td>
<td>178</td>
<td>16</td>
<td class="right" data-ratio="561 690">81.30%</td>
<td class="right" data-ratio="601 850">70.71%</td>
</tr>
</tfoot>
</table>
Expand All @@ -274,13 +292,13 @@ <h1>Coverage report:
<footer>
<div class="content">
<p>
<a class="nav" href="https://coverage.readthedocs.io/en/7.2.3">coverage.py v7.2.3</a>,
created at 2023-04-26 22:45 +0200
<a class="nav" href="https://coverage.readthedocs.io/en/7.4.4">coverage.py v7.4.4</a>,
created at 2024-05-20 20:15 +0200
</p>
</div>
<aside class="hidden">
<a id="prevFileLink" class="nav" href="d_a44f0ac069e85531_test_validator_py.html"/>
<a id="nextFileLink" class="nav" href="d_3066f438197cb952___init___py.html"/>
<a id="nextFileLink" class="nav" href="d_49b8b38e36e48c02_debug_py.html"/>
<button type="button" class="button_prev_file" data-shortcut="["/>
<button type="button" class="button_next_file" data-shortcut="]"/>
<button type="button" class="button_show_hide_help" data-shortcut="?"/>
Expand Down
12 changes: 6 additions & 6 deletions coverage/d_3066f438197cb952___init___py.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ <h2>
<button type="button" class="par run show_par button_toggle_par" value="par" data-shortcut="p" title="Toggle lines partially run">0<span class="text"> partial</span></button>
</h2>
<p class="text">
<a id="prevFileLink" class="nav" href="covindex.html">&#xab; prev</a> &nbsp; &nbsp;
<a id="prevFileLink" class="nav" href="d_49b8b38e36e48c02_debug_py.html">&#xab; prev</a> &nbsp; &nbsp;
<a id="indexLink" class="nav" href="covindex.html">&Hat; index</a> &nbsp; &nbsp;
<a id="nextFileLink" class="nav" href="d_3066f438197cb952_base_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.2.3">coverage.py v7.2.3</a>,
created at 2023-04-16 20:19 +0200
<a class="nav" href="https://coverage.readthedocs.io/en/7.4.4">coverage.py v7.4.4</a>,
created at 2024-03-20 17:43 +0100
</p>
<aside class="hidden">
<button type="button" class="button_next_chunk" data-shortcut="j"/>
Expand All @@ -87,12 +87,12 @@ <h2>
<footer>
<div class="content">
<p>
<a id="prevFileLink" class="nav" href="covindex.html">&#xab; prev</a> &nbsp; &nbsp;
<a id="prevFileLink" class="nav" href="d_49b8b38e36e48c02_debug_py.html">&#xab; prev</a> &nbsp; &nbsp;
<a id="indexLink" class="nav" href="covindex.html">&Hat; index</a> &nbsp; &nbsp;
<a id="nextFileLink" class="nav" href="d_3066f438197cb952_base_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.2.3">coverage.py v7.2.3</a>,
created at 2023-04-16 20:19 +0200
<a class="nav" href="https://coverage.readthedocs.io/en/7.4.4">coverage.py v7.4.4</a>,
created at 2024-03-20 17:43 +0100
</p>
</div>
</footer>
Expand Down
8 changes: 4 additions & 4 deletions coverage/d_3066f438197cb952_base_py.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ <h2>
<a id="indexLink" class="nav" href="covindex.html">&Hat; index</a> &nbsp; &nbsp;
<a id="nextFileLink" class="nav" href="d_3066f438197cb952_bash_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.2.3">coverage.py v7.2.3</a>,
created at 2023-04-18 18:20 +0200
<a class="nav" href="https://coverage.readthedocs.io/en/7.4.4">coverage.py v7.4.4</a>,
created at 2024-05-20 20:15 +0200
</p>
<aside class="hidden">
<button type="button" class="button_next_chunk" data-shortcut="j"/>
Expand Down Expand Up @@ -226,8 +226,8 @@ <h2>
<a id="indexLink" class="nav" href="covindex.html">&Hat; index</a> &nbsp; &nbsp;
<a id="nextFileLink" class="nav" href="d_3066f438197cb952_bash_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.2.3">coverage.py v7.2.3</a>,
created at 2023-04-18 18:20 +0200
<a class="nav" href="https://coverage.readthedocs.io/en/7.4.4">coverage.py v7.4.4</a>,
created at 2024-05-20 20:15 +0200
</p>
</div>
</footer>
Expand Down
Loading

0 comments on commit 804017a

Please sign in to comment.