mirror of
https://github.com/haidaraM/ansible-playbook-grapher
synced 2024-09-20 06:11:52 +00:00
154 commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
Mohamed El Mouctar Haidara
|
76dbdacbe4
|
ci: Use ruff for linting and format (#199)
- Code cleanup with ruff - Fix typos --------- Co-authored-by: haidaraM <haidaraM@users.noreply.github.com> |
||
Mohamed El Mouctar Haidara
|
90f5a30cb7
|
feat: Add support for a JSON renderer (#193)
Co-authored-by: haidaraM <haidaraM@users.noreply.github.com> |
||
Mohamed El Mouctar HAIDARA
|
34e0aef74b | fix(tests): Scope the plugin loader to pytest session | ||
dependabot[bot]
|
e3d6df6fd6
|
chore(deps): update black requirement from ~=24.4 to ~=24.8 (#196)
Updates the requirements on [black](https://github.com/psf/black) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p> <blockquote> <h2>24.8.0</h2> <h3>Stable style</h3> <ul> <li>Fix crash when <code># fmt: off</code> is used before a closing parenthesis or bracket. (<a href="https://redirect.github.com/psf/black/issues/4363">#4363</a>)</li> </ul> <h3>Packaging</h3> <ul> <li>Packaging metadata updated: docs are explictly linked, the issue tracker is now also linked. This improves the PyPI listing for Black. (<a href="https://redirect.github.com/psf/black/issues/4345">#4345</a>)</li> </ul> <h3>Parser</h3> <ul> <li>Fix regression where Black failed to parse a multiline f-string containing another multiline string (<a href="https://redirect.github.com/psf/black/issues/4339">#4339</a>)</li> <li>Fix regression where Black failed to parse an escaped single quote inside an f-string (<a href="https://redirect.github.com/psf/black/issues/4401">#4401</a>)</li> <li>Fix bug with Black incorrectly parsing empty lines with a backslash (<a href="https://redirect.github.com/psf/black/issues/4343">#4343</a>)</li> <li>Fix bugs with Black's tokenizer not handling <code>\{</code> inside f-strings very well (<a href="https://redirect.github.com/psf/black/issues/4422">#4422</a>)</li> <li>Fix incorrect line numbers in the tokenizer for certain tokens within f-strings (<a href="https://redirect.github.com/psf/black/issues/4423">#4423</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Improve performance when a large directory is listed in <code>.gitignore</code> (<a href="https://redirect.github.com/psf/black/issues/4415">#4415</a>)</li> </ul> <h3><em>Blackd</em></h3> <ul> <li>Fix blackd (and all extras installs) for docker container (<a href="https://redirect.github.com/psf/black/issues/4357">#4357</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p> <blockquote> <h2>24.8.0</h2> <h3>Stable style</h3> <ul> <li>Fix crash when <code># fmt: off</code> is used before a closing parenthesis or bracket. (<a href="https://redirect.github.com/psf/black/issues/4363">#4363</a>)</li> </ul> <h3>Packaging</h3> <ul> <li>Packaging metadata updated: docs are explictly linked, the issue tracker is now also linked. This improves the PyPI listing for Black. (<a href="https://redirect.github.com/psf/black/issues/4345">#4345</a>)</li> </ul> <h3>Parser</h3> <ul> <li>Fix regression where Black failed to parse a multiline f-string containing another multiline string (<a href="https://redirect.github.com/psf/black/issues/4339">#4339</a>)</li> <li>Fix regression where Black failed to parse an escaped single quote inside an f-string (<a href="https://redirect.github.com/psf/black/issues/4401">#4401</a>)</li> <li>Fix bug with Black incorrectly parsing empty lines with a backslash (<a href="https://redirect.github.com/psf/black/issues/4343">#4343</a>)</li> <li>Fix bugs with Black's tokenizer not handling <code>\{</code> inside f-strings very well (<a href="https://redirect.github.com/psf/black/issues/4422">#4422</a>)</li> <li>Fix incorrect line numbers in the tokenizer for certain tokens within f-strings (<a href="https://redirect.github.com/psf/black/issues/4423">#4423</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Improve performance when a large directory is listed in <code>.gitignore</code> (<a href="https://redirect.github.com/psf/black/issues/4415">#4415</a>)</li> </ul> <h3><em>Blackd</em></h3> <ul> <li>Fix blackd (and all extras installs) for docker container (<a href="https://redirect.github.com/psf/black/issues/4357">#4357</a>)</li> </ul> <h2>24.4.2</h2> <p>This is a bugfix release to fix two regressions in the new f-string parser introduced in 24.4.1.</p> <h3>Parser</h3> <ul> <li>Fix regression where certain complex f-strings failed to parse (<a href="https://redirect.github.com/psf/black/issues/4332">#4332</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix bad performance on certain complex string literals (<a href="https://redirect.github.com/psf/black/issues/4331">#4331</a>)</li> </ul> <h2>24.4.1</h2> <h3>Highlights</h3> <ul> <li>Add support for the new Python 3.12 f-string syntax introduced by PEP 701 (<a href="https://redirect.github.com/psf/black/issues/3822">#3822</a>)</li> </ul> <h3>Stable style</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
e8b12a05fb
|
chore(deps): bump pyquery from 2.0.0 to 2.0.1 (#197)
Bumps [pyquery](https://github.com/gawel/pyquery) from 2.0.0 to 2.0.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/gawel/pyquery/blob/master/CHANGES.rst">pyquery's changelog</a>.</em></p> <blockquote> <h2>2.0.1 (2024-08-30)</h2> <ul> <li> <p>Breaking change: its seems no longer possible to use the html parser with a xml file so its no longer tested</p> </li> <li> <p>Drop support for python 3.7</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
4aa5cceeda
|
chore(deps): bump pytest from 8.2.2 to 8.3.2 (#195)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.2 to 8.3.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>8.3.2</h2> <h1>pytest 8.3.2 (2024-07-24)</h1> <h2>Bug fixes</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12652">#12652</a>: Resolve regression [conda]{.title-ref} environments where no longer being automatically detected.</p> <p>-- by <code>RonnyPfannschmidt</code>{.interpreted-text role="user"}</p> </li> </ul> <h2>8.3.1</h2> <h1>pytest 8.3.1 (2024-07-20)</h1> <p>The 8.3.0 release failed to include the change notes and docs for the release. This patch release remedies this. There are no other changes.</p> <h2>8.3.0</h2> <h1>pytest 8.3.0 (2024-07-20)</h1> <h2>New features</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12231">#12231</a>: Added [--xfail-tb]{.title-ref} flag, which turns on traceback output for XFAIL results.</p> <ul> <li>If the [--xfail-tb]{.title-ref} flag is not given, tracebacks for XFAIL results are NOT shown.</li> <li>The style of traceback for XFAIL is set with [--tb]{.title-ref}, and can be [auto|long|short|line|native|no]{.title-ref}.</li> <li>Note: Even if you have [--xfail-tb]{.title-ref} set, you won't see them if [--tb=no]{.title-ref}.</li> </ul> <p>Some history:</p> <p>With pytest 8.0, [-rx]{.title-ref} or [-ra]{.title-ref} would not only turn on summary reports for xfail, but also report the tracebacks for xfail results. This caused issues with some projects that utilize xfail, but don't want to see all of the xfail tracebacks.</p> <p>This change detaches xfail tracebacks from [-rx]{.title-ref}, and now we turn on xfail tracebacks with [--xfail-tb]{.title-ref}. With this, the default [-rx]{.title-ref}/ [-ra]{.title-ref} behavior is identical to pre-8.0 with respect to xfail tracebacks. While this is a behavior change, it brings default behavior back to pre-8.0.0 behavior, which ultimately was considered the better course of action.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12281">#12281</a>: Added support for keyword matching in marker expressions.</p> <p>Now tests can be selected by marker keyword arguments. Supported values are <code>int</code>{.interpreted-text role="class"}, (unescaped) <code>str</code>{.interpreted-text role="class"}, <code>bool</code>{.interpreted-text role="class"} & <code>None</code>{.interpreted-text role="data"}.</p> <p>See <code>marker examples <marker_keyword_expression_example></code>{.interpreted-text role="ref"} for more information.</p> <p>-- by <code>lovetheguitar</code>{.interpreted-text role="user"}</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12567">#12567</a>: Added <code>--no-fold-skipped</code> command line option.</p> <p>If this option is set, then skipped tests in short summary are no longer grouped by reason but all tests are printed individually with their nodeid in the same way as other statuses.</p> <p>-- by <code>pbrezina</code>{.interpreted-text role="user"}</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
475f39355a
|
chore(deps): bump pytest from 8.2.1 to 8.2.2 (#191)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.1 to 8.2.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>8.2.2</h2> <h1>pytest 8.2.2 (2024-06-04)</h1> <h2>Bug Fixes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12355">#12355</a>: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12367">#12367</a>: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12381">#12381</a>: Fix possible "Directory not empty" crashes arising from concurent cache dir (<code>.pytest_cache</code>) creation. Regressed in pytest 8.2.0.</li> </ul> <h2>Improved Documentation</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12290">#12290</a>: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12356">#12356</a>: Added a subsection to the documentation for debugging flaky tests to mention lack of thread safety in pytest as a possible source of flakyness.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12363">#12363</a>: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
e1524dcff3
|
chore(deps): bump pytest from 8.1.1 to 8.2.1 (#189)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.1 to 8.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>8.2.1</h2> <h1>pytest 8.2.1 (2024-05-19)</h1> <h2>Improvements</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12334">#12334</a>: Support for Python 3.13 (beta1 at the time of writing).</li> </ul> <h2>Bug Fixes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12120">#12120</a>: Fix [PermissionError]{.title-ref} crashes arising from directories which are not selected on the command-line.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12191">#12191</a>: Keyboard interrupts and system exits are now properly handled during the test collection.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12300">#12300</a>: Fixed handling of 'Function not implemented' error under squashfuse_ll, which is a different way to say that the mountpoint is read-only.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12308">#12308</a>: Fix a regression in pytest 8.2.0 where the permissions of automatically-created <code>.pytest_cache</code> directories became <code>rwx------</code> instead of the expected <code>rwxr-xr-x</code>.</li> </ul> <h2>Trivial/Internal Changes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12333">#12333</a>: pytest releases are now attested using the recent <a href="https://github.blog/2024-05-02-introducing-artifact-attestations-now-in-public-beta/">Artifact Attestation</a> support from GitHub, allowing users to verify the provenance of pytest's sdist and wheel artifacts.</li> </ul> <h2>8.2.0</h2> <h1>pytest 8.2.0 (2024-04-27)</h1> <h2>Deprecations</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12069">#12069</a>: A deprecation warning is now raised when implementations of one of the following hooks request a deprecated <code>py.path.local</code> parameter instead of the <code>pathlib.Path</code> parameter which replaced it:</p> <ul> <li><code>pytest_ignore_collect</code>{.interpreted-text role="hook"} - the <code>path</code> parameter - use <code>collection_path</code> instead.</li> <li><code>pytest_collect_file</code>{.interpreted-text role="hook"} - the <code>path</code> parameter - use <code>file_path</code> instead.</li> <li><code>pytest_pycollect_makemodule</code>{.interpreted-text role="hook"} - the <code>path</code> parameter - use <code>module_path</code> instead.</li> <li><code>pytest_report_header</code>{.interpreted-text role="hook"} - the <code>startdir</code> parameter - use <code>start_path</code> instead.</li> <li><code>pytest_report_collectionfinish</code>{.interpreted-text role="hook"} - the <code>startdir</code> parameter - use <code>start_path</code> instead.</li> </ul> <p>The replacement parameters are available since pytest 7.0.0. The old parameters will be removed in pytest 9.0.0.</p> <p>See <code>legacy-path-hooks-deprecated</code>{.interpreted-text role="ref"} for more details.</p> </li> </ul> <h2>Features</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11871">#11871</a>: Added support for reading command line arguments from a file using the prefix character <code>@</code>, like e.g.: <code>pytest @tests.txt</code>. The file must have one argument per line.</p> <p>See <code>Read arguments from file <args-from-file></code>{.interpreted-text role="ref"} for details.</p> </li> </ul> <p>Improvements</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
a3200dedf7
|
chore(deps): update black requirement from ~=24.3 to ~=24.4 (#188)
Updates the requirements on [black](https://github.com/psf/black) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p> <blockquote> <h2>24.4.2</h2> <p>This is a bugfix release to fix two regressions in the new f-string parser introduced in 24.4.1.</p> <h3>Parser</h3> <ul> <li>Fix regression where certain complex f-strings failed to parse (<a href="https://redirect.github.com/psf/black/issues/4332">#4332</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix bad performance on certain complex string literals (<a href="https://redirect.github.com/psf/black/issues/4331">#4331</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p> <blockquote> <h2>24.4.2</h2> <p>This is a bugfix release to fix two regressions in the new f-string parser introduced in 24.4.1.</p> <h3>Parser</h3> <ul> <li>Fix regression where certain complex f-strings failed to parse (<a href="https://redirect.github.com/psf/black/issues/4332">#4332</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix bad performance on certain complex string literals (<a href="https://redirect.github.com/psf/black/issues/4331">#4331</a>)</li> </ul> <h2>24.4.1</h2> <h3>Highlights</h3> <ul> <li>Add support for the new Python 3.12 f-string syntax introduced by PEP 701 (<a href="https://redirect.github.com/psf/black/issues/3822">#3822</a>)</li> </ul> <h3>Stable style</h3> <ul> <li>Fix crash involving indented dummy functions containing newlines (<a href="https://redirect.github.com/psf/black/issues/4318">#4318</a>)</li> </ul> <h3>Parser</h3> <ul> <li>Add support for type parameter defaults, a new syntactic feature added to Python 3.13 by PEP 696 (<a href="https://redirect.github.com/psf/black/issues/4327">#4327</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Github Action now works even when <code>git archive</code> is skipped (<a href="https://redirect.github.com/psf/black/issues/4313">#4313</a>)</li> </ul> <h2>24.4.0</h2> <h3>Stable style</h3> <ul> <li>Fix unwanted crashes caused by AST equivalency check (<a href="https://redirect.github.com/psf/black/issues/4290">#4290</a>)</li> </ul> <h3>Preview style</h3> <ul> <li><code>if</code> guards in <code>case</code> blocks are now wrapped in parentheses when the line is too long. (<a href="https://redirect.github.com/psf/black/issues/4269">#4269</a>)</li> <li>Stop moving multiline strings to a new line unless inside brackets (<a href="https://redirect.github.com/psf/black/issues/4289">#4289</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Add a new option <code>use_pyproject</code> to the GitHub Action <code>psf/black</code>. This will read the Black version from <code>pyproject.toml</code>. (<a href="https://redirect.github.com/psf/black/issues/4294">#4294</a>)</li> </ul> <h2>24.3.0</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
d7a4e7c612
|
chore(deps): update black requirement from ~=24.2 to ~=24.3 (#184)
Updates the requirements on [black](https://github.com/psf/black) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p> <blockquote> <h2>24.3.0</h2> <h3>Highlights</h3> <p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p> <p>This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p> <h3>Stable style</h3> <ul> <li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li>Fix a bug where line-ranges exceeding the last code line would not work as expected (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>. (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p> <blockquote> <h2>24.3.0</h2> <h3>Highlights</h3> <p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p> <p>This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p> <h3>Stable style</h3> <ul> <li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li> <li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li> <li>Fix a bug where line-ranges exceeding the last code line would not work as expected (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>. (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li> </ul> <h2>24.2.0</h2> <h3>Stable style</h3> <ul> <li>Fixed a bug where comments where mistakenly removed along with redundant parentheses (<a href="https://redirect.github.com/psf/black/issues/4218">#4218</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Move the <code>hug_parens_with_braces_and_square_brackets</code> feature to the unstable style due to an outstanding crash and proposed formatting tweaks (<a href="https://redirect.github.com/psf/black/issues/4198">#4198</a>)</li> <li>Fixed a bug where base expressions caused inconsistent formatting of ** in tenary expression (<a href="https://redirect.github.com/psf/black/issues/4154">#4154</a>)</li> <li>Checking for newline before adding one on docstring that is almost at the line limit (<a href="https://redirect.github.com/psf/black/issues/4185">#4185</a>)</li> <li>Remove redundant parentheses in <code>case</code> statement <code>if</code> guards (<a href="https://redirect.github.com/psf/black/issues/4214">#4214</a>).</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
c7bb358d0f
|
chore(deps): bump pytest-cov from 4.1.0 to 5.0.0 (#182)
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 4.1.0 to 5.0.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst">pytest-cov's changelog</a>.</em></p> <blockquote> <h2>5.0.0 (2024-03-24)</h2> <ul> <li>Removed support for xdist rsync (now deprecated). Contributed by Matthias Reichenbach in <code>[#623](https://github.com/pytest-dev/pytest-cov/issues/623) <https://github.com/pytest-dev/pytest-cov/pull/623></code>_.</li> <li>Switched docs theme to Furo.</li> <li>Various legacy Python cleanup and CI improvements. Contributed by Christian Clauss and Hugo van Kemenade in <code>[#630](https://github.com/pytest-dev/pytest-cov/issues/630) <https://github.com/pytest-dev/pytest-cov/pull/630></code><em>, <code>[#631](https://github.com/pytest-dev/pytest-cov/issues/631) <https://github.com/pytest-dev/pytest-cov/pull/631></code></em>, <code>[#632](https://github.com/pytest-dev/pytest-cov/issues/632) <https://github.com/pytest-dev/pytest-cov/pull/632></code>_ and <code>[#633](https://github.com/pytest-dev/pytest-cov/issues/633) <https://github.com/pytest-dev/pytest-cov/pull/633></code>_.</li> <li>Added a <code>pyproject.toml</code> example in the docs. Contributed by Dawn James in <code>[#626](https://github.com/pytest-dev/pytest-cov/issues/626) <https://github.com/pytest-dev/pytest-cov/pull/626></code>_.</li> <li>Modernized project's pre-commit hooks to use ruff. Initial POC contributed by Christian Clauss in <code>[#584](https://github.com/pytest-dev/pytest-cov/issues/584) <https://github.com/pytest-dev/pytest-cov/pull/584></code>_.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
41c9128937
|
chore(deps): bump pytest from 8.0.2 to 8.1.1 (#185)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.0.2 to 8.1.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>8.1.1</h2> <h1>pytest 8.1.1 (2024-03-08)</h1> <p>::: {.note} ::: {.title} Note :::</p> <p>This release is not a usual bug fix release -- it contains features and improvements, being a follow up to <code>8.1.0</code>, which has been yanked from PyPI. :::</p> <h2>Features</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: Added the new <code>consider_namespace_packages</code>{.interpreted-text role="confval"} configuration option, defaulting to <code>False</code>.</p> <p>If set to <code>True</code>, pytest will attempt to identify modules that are part of <a href="https://packaging.python.org/en/latest/guides/packaging-namespace-packages">namespace packages</a> when importing modules.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11653">#11653</a>: Added the new <code>verbosity_test_cases</code>{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity. See <code>Fine-grained verbosity <pytest.fine_grained_verbosity></code>{.interpreted-text role="ref"} for more details.</p> </li> </ul> <h2>Improvements</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10865">#10865</a>: <code>pytest.warns</code>{.interpreted-text role="func"} now validates that <code>warnings.warn</code>{.interpreted-text role="func"} was called with a [str]{.title-ref} or a [Warning]{.title-ref}. Currently in Python it is possible to use other types, however this causes an exception when <code>warnings.filterwarnings</code>{.interpreted-text role="func"} is used to filter those warnings (see [CPython <a href="https://redirect.github.com/pytest-dev/pytest/issues/103577">#103577</a>](<a href="https://redirect.github.com/python/cpython/issues/103577">python/cpython#103577</a>) for a discussion). While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11311">#11311</a>: When using <code>--override-ini</code> for paths in invocations without a configuration file defined, the current working directory is used as the relative directory.</p> <p>Previoulsy this would raise an <code>AssertionError</code>{.interpreted-text role="class"}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: <code>--import-mode=importlib <import-mode-importlib></code>{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :py<code>sys.path</code>{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.</p> <p>This means that installed packages will be imported under their canonical name if possible first, for example <code>app.core.models</code>, instead of having the module name always be derived from their path (for example <code>.env310.lib.site_packages.app.core.models</code>).</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11801">#11801</a>: Added the <code>iter_parents() <_pytest.nodes.Node.iter_parents></code>{.interpreted-text role="func"} helper method on nodes. It is similar to <code>listchain <_pytest.nodes.Node.listchain></code>{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11850">#11850</a>: Added support for <code>sys.last_exc</code>{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11962">#11962</a>: In case no other suitable candidates for configuration file are found, a <code>pyproject.toml</code> (even without a <code>[tool.pytest.ini_options]</code> table) will be considered as the configuration file and define the <code>rootdir</code>.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11978">#11978</a>: Add <code>--log-file-mode</code> option to the logging plugin, enabling appending to log-files. This option accepts either <code>"w"</code> or <code>"a"</code> and defaults to <code>"w"</code>.</p> <p>Previously, the mode was hard-coded to be <code>"w"</code> which truncates the file before logging.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
Mohamed El Mouctar HAIDARA
|
9b520eddd2 | test: remove unused exception | ||
Mohamed El Mouctar Haidara
|
7b12565c12
|
feat: add support for viewing mermaid in the browser (#181)
Implement `--view` flag for mermaid renderer --------- Co-authored-by: haidaraM <haidaraM@users.noreply.github.com> |
||
Mohamed El Mouctar Haidara
|
21d54107ac
|
feat: Add support for hiding empty plays and plays without roles (#177) | ||
Mohamed El Mouctar Haidara
|
4979cf9119
|
fix: make sure pip install from github works (#178)
pip install from github was failing with the following error: ``` × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "/private/var/folders/8l/klypdyl51dvb7_1kztfgsv8m0000gn/T/pip-req-build-vx02zbxx/setup.py", line 20, in <module> from ansibleplaybookgrapher import __version__, __prog__ File "/private/var/folders/8l/klypdyl51dvb7_1kztfgsv8m0000gn/T/pip-req-build-vx02zbxx/ansibleplaybookgrapher/__init__.py", line 18, in <module> from ansible.utils.display import Display ModuleNotFoundError: No module named 'ansible' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. ``` This is due to setup tools trying to inspect the files during the installation process while some of dependencies are not installed yet. --------- Co-authored-by: haidaraM <haidaraM@users.noreply.github.com> |
||
dependabot[bot]
|
48498afb96
|
chore(deps): bump pytest from 8.0.0 to 8.0.2 (#173) | ||
dependabot[bot]
|
dcd5a9ac7e
|
chore(deps): update black requirement from ~=24.1 to ~=24.2 (#175)
Updates the requirements on [black](https://github.com/psf/black) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p> <blockquote> <h2>24.2.0</h2> <h3>Stable style</h3> <ul> <li>Fixed a bug where comments where mistakenly removed along with redundant parentheses (<a href="https://redirect.github.com/psf/black/issues/4218">#4218</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Move the <code>hug_parens_with_braces_and_square_brackets</code> feature to the unstable style due to an outstanding crash and proposed formatting tweaks (<a href="https://redirect.github.com/psf/black/issues/4198">#4198</a>)</li> <li>Fixed a bug where base expressions caused inconsistent formatting of ** in tenary expression (<a href="https://redirect.github.com/psf/black/issues/4154">#4154</a>)</li> <li>Checking for newline before adding one on docstring that is almost at the line limit (<a href="https://redirect.github.com/psf/black/issues/4185">#4185</a>)</li> <li>Remove redundant parentheses in <code>case</code> statement <code>if</code> guards (<a href="https://redirect.github.com/psf/black/issues/4214">#4214</a>).</li> </ul> <h3>Configuration</h3> <ul> <li>Fix issue where <em>Black</em> would ignore input files in the presence of symlinks (<a href="https://redirect.github.com/psf/black/issues/4222">#4222</a>)</li> <li><em>Black</em> now ignores <code>pyproject.toml</code> that is missing a <code>tool.black</code> section when discovering project root and configuration. Since <em>Black</em> continues to use version control as an indicator of project root, this is expected to primarily change behavior for users in a monorepo setup (desirably). If you wish to preserve previous behavior, simply add an empty <code>[tool.black]</code> to the previously discovered <code>pyproject.toml</code> (<a href="https://redirect.github.com/psf/black/issues/4204">#4204</a>)</li> </ul> <h3>Output</h3> <ul> <li>Black will swallow any <code>SyntaxWarning</code>s or <code>DeprecationWarning</code>s produced by the <code>ast</code> module when performing equivalence checks (<a href="https://redirect.github.com/psf/black/issues/4189">#4189</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Add a JSONSchema and provide a validate-pyproject entry-point (<a href="https://redirect.github.com/psf/black/issues/4181">#4181</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p> <blockquote> <h2>24.2.0</h2> <h3>Stable style</h3> <ul> <li>Fixed a bug where comments where mistakenly removed along with redundant parentheses (<a href="https://redirect.github.com/psf/black/issues/4218">#4218</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Move the <code>hug_parens_with_braces_and_square_brackets</code> feature to the unstable style due to an outstanding crash and proposed formatting tweaks (<a href="https://redirect.github.com/psf/black/issues/4198">#4198</a>)</li> <li>Fixed a bug where base expressions caused inconsistent formatting of ** in tenary expression (<a href="https://redirect.github.com/psf/black/issues/4154">#4154</a>)</li> <li>Checking for newline before adding one on docstring that is almost at the line limit (<a href="https://redirect.github.com/psf/black/issues/4185">#4185</a>)</li> <li>Remove redundant parentheses in <code>case</code> statement <code>if</code> guards (<a href="https://redirect.github.com/psf/black/issues/4214">#4214</a>).</li> </ul> <h3>Configuration</h3> <ul> <li>Fix issue where <em>Black</em> would ignore input files in the presence of symlinks (<a href="https://redirect.github.com/psf/black/issues/4222">#4222</a>)</li> <li><em>Black</em> now ignores <code>pyproject.toml</code> that is missing a <code>tool.black</code> section when discovering project root and configuration. Since <em>Black</em> continues to use version control as an indicator of project root, this is expected to primarily change behavior for users in a monorepo setup (desirably). If you wish to preserve previous behavior, simply add an empty <code>[tool.black]</code> to the previously discovered <code>pyproject.toml</code> (<a href="https://redirect.github.com/psf/black/issues/4204">#4204</a>)</li> </ul> <h3>Output</h3> <ul> <li>Black will swallow any <code>SyntaxWarning</code>s or <code>DeprecationWarning</code>s produced by the <code>ast</code> module when performing equivalence checks (<a href="https://redirect.github.com/psf/black/issues/4189">#4189</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Add a JSONSchema and provide a validate-pyproject entry-point (<a href="https://redirect.github.com/psf/black/issues/4181">#4181</a>)</li> </ul> <h2>24.1.1</h2> <p>Bugfix release to fix a bug that made Black unusable on certain file systems with strict limits on path length.</p> <h3>Preview style</h3> <ul> <li>Consistently add trailing comma on typed parameters (<a href="https://redirect.github.com/psf/black/issues/4164">#4164</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Shorten the length of the name of the cache file to fix crashes on file systems that do not support long paths (<a href="https://redirect.github.com/psf/black/issues/4176">#4176</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
10dc7e0130
|
chore(deps): update black requirement from ~=23.12 to ~=24.1 (#172)
Updates the requirements on [black](https://github.com/psf/black) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p> <blockquote> <h2>24.1.1</h2> <p>Bugfix release to fix a bug that made Black unusable on certain file systems with strict limits on path length.</p> <h3>Preview style</h3> <ul> <li>Consistently add trailing comma on typed parameters (<a href="https://redirect.github.com/psf/black/issues/4164">#4164</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Shorten the length of the name of the cache file to fix crashes on file systems that do not support long paths (<a href="https://redirect.github.com/psf/black/issues/4176">#4176</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p> <blockquote> <h2>24.1.1</h2> <p>Bugfix release to fix a bug that made Black unusable on certain file systems with strict limits on path length.</p> <h3>Preview style</h3> <ul> <li>Consistently add trailing comma on typed parameters (<a href="https://redirect.github.com/psf/black/issues/4164">#4164</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Shorten the length of the name of the cache file to fix crashes on file systems that do not support long paths (<a href="https://redirect.github.com/psf/black/issues/4176">#4176</a>)</li> </ul> <h2>24.1.0</h2> <h3>Highlights</h3> <p>This release introduces the new 2024 stable style (<a href="https://redirect.github.com/psf/black/issues/4106">#4106</a>), stabilizing the following changes:</p> <ul> <li>Add parentheses around <code>if</code>-<code>else</code> expressions (<a href="https://redirect.github.com/psf/black/issues/2278">#2278</a>)</li> <li>Dummy class and function implementations consisting only of <code>...</code> are formatted more compactly (<a href="https://redirect.github.com/psf/black/issues/3796">#3796</a>)</li> <li>If an assignment statement is too long, we now prefer splitting on the right-hand side (<a href="https://redirect.github.com/psf/black/issues/3368">#3368</a>)</li> <li>Hex codes in Unicode escape sequences are now standardized to lowercase (<a href="https://redirect.github.com/psf/black/issues/2916">#2916</a>)</li> <li>Allow empty first lines at the beginning of most blocks (<a href="https://redirect.github.com/psf/black/issues/3967">#3967</a>, <a href="https://redirect.github.com/psf/black/issues/4061">#4061</a>)</li> <li>Add parentheses around long type annotations (<a href="https://redirect.github.com/psf/black/issues/3899">#3899</a>)</li> <li>Enforce newline after module docstrings (<a href="https://redirect.github.com/psf/black/issues/3932">#3932</a>, <a href="https://redirect.github.com/psf/black/issues/4028">#4028</a>)</li> <li>Fix incorrect magic trailing comma handling in return types (<a href="https://redirect.github.com/psf/black/issues/3916">#3916</a>)</li> <li>Remove blank lines before class docstrings (<a href="https://redirect.github.com/psf/black/issues/3692">#3692</a>)</li> <li>Wrap multiple context managers in parentheses if combined in a single <code>with</code> statement (<a href="https://redirect.github.com/psf/black/issues/3489">#3489</a>)</li> <li>Fix bug in line length calculations for power operations (<a href="https://redirect.github.com/psf/black/issues/3942">#3942</a>)</li> <li>Add trailing commas to collection literals even if there's a comment after the last entry (<a href="https://redirect.github.com/psf/black/issues/3393">#3393</a>)</li> <li>When using <code>--skip-magic-trailing-comma</code> or <code>-C</code>, trailing commas are stripped from subscript expressions with more than 1 element (<a href="https://redirect.github.com/psf/black/issues/3209">#3209</a>)</li> <li>Add extra blank lines in stubs in a few cases (<a href="https://redirect.github.com/psf/black/issues/3564">#3564</a>, <a href="https://redirect.github.com/psf/black/issues/3862">#3862</a>)</li> <li>Accept raw strings as docstrings (<a href="https://redirect.github.com/psf/black/issues/3947">#3947</a>)</li> <li>Split long lines in case blocks (<a href="https://redirect.github.com/psf/black/issues/4024">#4024</a>)</li> <li>Stop removing spaces from walrus operators within subscripts (<a href="https://redirect.github.com/psf/black/issues/3823">#3823</a>)</li> <li>Fix incorrect formatting of certain async statements (<a href="https://redirect.github.com/psf/black/issues/3609">#3609</a>)</li> <li>Allow combining <code># fmt: skip</code> with other comments (<a href="https://redirect.github.com/psf/black/issues/3959">#3959</a>)</li> </ul> <p>There are already a few improvements in the <code>--preview</code> style, which are slated for the 2025 stable style. Try them out and <a href="https://github.com/psf/black/issues">share your feedback</a>. In the past, the preview style has included some features that we were not able to stabilize. This year, we're</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
73286c4d99
|
chore(deps): bump pytest from 7.4.4 to 8.0.0 (#171)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.4 to 8.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>pytest 8.0.0 (2024-01-27)</h2> <p>See <a href="https://github.com/pytest-dev/pytest/releases/tag/8.0.0rc1">8.0.0rc1</a> and <a href="https://github.com/pytest-dev/pytest/releases/tag/8.0.0rc2">8.0.0rc2</a> for the full changes since pytest 7.4!</p> <h2>Bug Fixes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11842">#11842</a>: Properly escape the <code>reason</code> of a <code>skip <pytest.mark.skip ref></code>{.interpreted-text role="ref"} mark when writing JUnit XML files.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11861">#11861</a>: Avoid microsecond exceeds <code>1_000_000</code> when using <code>log-date-format</code> with <code>%f</code> specifier, which might cause the test suite to crash.</li> </ul> <h2>8.0.0rc2</h2> <h1>pytest 8.0.0rc2 (2024-01-17)</h1> <h2>Improvements</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11233">#11233</a>: Improvements to <code>-r</code> for xfailures and xpasses: <ul> <li>Report tracebacks for xfailures when <code>-rx</code> is set.</li> <li>Report captured output for xpasses when <code>-rX</code> is set.</li> <li>For xpasses, add <code>-</code> in summary between test name and reason, to match how xfail is displayed.</li> </ul> </li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11825">#11825</a>: The <code>pytest_plugin_registered</code>{.interpreted-text role="hook"} hook has a new <code>plugin_name</code> parameter containing the name by which <code>plugin</code> is registered.</li> </ul> <h2>Bug Fixes</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11706">#11706</a>: Fix reporting of teardown errors in higher-scoped fixtures when using [--maxfail]{.title-ref} or [--stepwise]{.title-ref}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11758">#11758</a>: Fixed <code>IndexError: string index out of range</code> crash in <code>if highlighted[-1] == "\n" and source[-1] != "\n"</code>. This bug was introduced in pytest 8.0.0rc1.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/9765">#9765</a>, <a href="https://redirect.github.com/pytest-dev/pytest/issues/11816">#11816</a>: Fixed a frustrating bug that afflicted some users with the only error being <code>assert mod not in mods</code>. The issue was caused by the fact that <code>str(Path(mod))</code> and <code>mod.__file__</code> don't necessarily produce the same string, and was being erroneously used interchangably in some places in the code.</p> <p>This fix also broke the internal API of <code>PytestPluginManager.consider_conftest</code> by introducing a new parameter -- we mention this in case it is being used by external code, even if marked as <em>private</em>.</p> </li> </ul> <h2>pytest 8.0.0rc1 (2023-12-30)</h2> <p>See <a href="https://docs.pytest.org/en/latest/changelog.html#pytest-8-0-0rc1-2023-12-30">https://docs.pytest.org/en/latest/changelog.html#pytest-8-0-0rc1-2023-12-30</a> for the rendered changelog.</p> <h2>Breaking Changes</h2> <h3>Old Deprecations Are Now Errors</h3> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/7363">#7363</a>: <strong>PytestRemovedIn8Warning deprecation warnings are now errors by default.</strong></p> <p>Following our plan to remove deprecated features with as little disruption as possible, all warnings of type <code>PytestRemovedIn8Warning</code> now generate errors instead of warning messages by default.</p> <p><strong>The affected features will be effectively removed in pytest 8.1</strong>, so please consult the <code>deprecations</code>{.interpreted-text role="ref"} section in the docs for directions on how to update existing code.</p> <p>In the pytest <code>8.0.X</code> series, it is possible to change the errors back into warnings as a stopgap measure by adding this to your <code>pytest.ini</code> file:</p> <pre lang="ini"><code>[pytest] </code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
4ab36bf309
|
chore(deps): update black requirement from ~=23.11 to ~=23.12 (#169)
Updates the requirements on [black](https://github.com/psf/black) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p> <blockquote> <h2>23.12.1</h2> <p>Fixed a bug that included dependencies from the d extra by default (<a href="https://redirect.github.com/psf/black/issues/4108">#4108</a>)</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p> <blockquote> <h2>23.12.1</h2> <h3>Packaging</h3> <ul> <li>Fixed a bug that included dependencies from the <code>d</code> extra by default (<a href="https://redirect.github.com/psf/black/issues/4108">#4108</a>)</li> </ul> <h2>23.12.0</h2> <h3>Highlights</h3> <p>It's almost 2024, which means it's time for a new edition of <em>Black</em>'s stable style! Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft 2024 stable style, which we'll finalize in the January release. Please try it out and <a href="https://redirect.github.com/psf/black/issues/4042">share your feedback</a>.</p> <p>This release (23.12.0) will still produce the 2023 style. Most but not all of the changes in <code>--preview</code> mode will be in the 2024 stable style.</p> <h3>Stable style</h3> <ul> <li>Fix bug where <code># fmt: off</code> automatically dedents when used with the <code>--line-ranges</code> option, even when it is not within the specified line range. (<a href="https://redirect.github.com/psf/black/issues/4084">#4084</a>)</li> <li>Fix feature detection for parenthesized context managers (<a href="https://redirect.github.com/psf/black/issues/4104">#4104</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Prefer more equal signs before a break when splitting chained assignments (<a href="https://redirect.github.com/psf/black/issues/4010">#4010</a>)</li> <li>Standalone form feed characters at the module level are no longer removed (<a href="https://redirect.github.com/psf/black/issues/4021">#4021</a>)</li> <li>Additional cases of immediately nested tuples, lists, and dictionaries are now indented less (<a href="https://redirect.github.com/psf/black/issues/4012">#4012</a>)</li> <li>Allow empty lines at the beginning of all blocks, except immediately before a docstring (<a href="https://redirect.github.com/psf/black/issues/4060">#4060</a>)</li> <li>Fix crash in preview mode when using a short <code>--line-length</code> (<a href="https://redirect.github.com/psf/black/issues/4086">#4086</a>)</li> <li>Keep suites consisting of only an ellipsis on their own lines if they are not functions or class definitions (<a href="https://redirect.github.com/psf/black/issues/4066">#4066</a>) (<a href="https://redirect.github.com/psf/black/issues/4103">#4103</a>)</li> </ul> <h3>Configuration</h3> <ul> <li><code>--line-ranges</code> now skips <em>Black</em>'s internal stability check in <code>--safe</code> mode. This avoids a crash on rare inputs that have many unformatted same-content lines. (<a href="https://redirect.github.com/psf/black/issues/4034">#4034</a>)</li> </ul> <h3>Packaging</h3> <ul> <li>Upgrade to mypy 1.7.1 (<a href="https://redirect.github.com/psf/black/issues/4049">#4049</a>) (<a href="https://redirect.github.com/psf/black/issues/4069">#4069</a>)</li> <li>Faster compiled wheels are now available for CPython 3.12 (<a href="https://redirect.github.com/psf/black/issues/4070">#4070</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Enable 3.12 CI (<a href="https://redirect.github.com/psf/black/issues/4035">#4035</a>)</li> <li>Build docker images in parallel (<a href="https://redirect.github.com/psf/black/issues/4054">#4054</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
c3f02e2b71
|
chore(deps): bump pytest from 7.4.3 to 7.4.4 (#168)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.3 to 7.4.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>pytest 7.4.4 (2023-12-31)</h2> <h2>Bug Fixes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11140">#11140</a>: Fix non-string constants at the top of file being detected as docstrings on Python>=3.8.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11572">#11572</a>: Handle an edge case where <code>sys.stderr</code>{.interpreted-text role="data"} and <code>sys.__stderr__</code>{.interpreted-text role="data"} might already be closed when <code>faulthandler</code>{.interpreted-text role="ref"} is tearing down.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11710">#11710</a>: Fixed tracebacks from collection errors not getting pruned.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/7966">#7966</a>: Removed unhelpful error message from assertion rewrite mechanism when exceptions are raised in <code>__iter__</code> methods. Now they are treated un-iterable instead.</li> </ul> <h2>Improved Documentation</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11091">#11091</a>: Updated documentation to refer to hyphenated options: replaced <code>--junitxml</code> with <code>--junit-xml</code> and <code>--collectonly</code> with <code>--collect-only</code>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
ddff5d86a1
|
chore(deps): update black requirement from ~=23.10 to ~=23.11 (#163)
Updates the requirements on [black](https://github.com/psf/black) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p> <blockquote> <h2>23.11.0</h2> <h3>Highlights</h3> <ul> <li>Support formatting ranges of lines with the new <code>--line-ranges</code> command-line option (<a href="https://redirect.github.com/psf/black/issues/4020">#4020</a>)</li> </ul> <h3>Stable style</h3> <ul> <li>Fix crash on formatting bytes strings that look like docstrings (<a href="https://redirect.github.com/psf/black/issues/4003">#4003</a>)</li> <li>Fix crash when whitespace followed a backslash before newline in a docstring (<a href="https://redirect.github.com/psf/black/issues/4008">#4008</a>)</li> <li>Fix standalone comments inside complex blocks crashing Black (<a href="https://redirect.github.com/psf/black/issues/4016">#4016</a>)</li> <li>Fix crash on formatting code like <code>await (a ** b)</code> (<a href="https://redirect.github.com/psf/black/issues/3994">#3994</a>)</li> <li>No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash (<a href="https://redirect.github.com/psf/black/issues/4019">#4019</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Multiline dicts and lists that are the sole argument to a function are now indented less (<a href="https://redirect.github.com/psf/black/issues/3964">#3964</a>)</li> <li>Multiline unpacked dicts and lists as the sole argument to a function are now also indented less (<a href="https://redirect.github.com/psf/black/issues/3992">#3992</a>)</li> <li>In f-string debug expressions, quote types that are visible in the final string are now preserved (<a href="https://redirect.github.com/psf/black/issues/4005">#4005</a>)</li> <li>Fix a bug where long <code>case</code> blocks were not split into multiple lines. Also enable general trailing comma rules on <code>case</code> blocks (<a href="https://redirect.github.com/psf/black/issues/4024">#4024</a>)</li> <li>Keep requiring two empty lines between module-level docstring and first function or class definition (<a href="https://redirect.github.com/psf/black/issues/4028">#4028</a>)</li> <li>Add support for single-line format skip with other comments on the same line (<a href="https://redirect.github.com/psf/black/issues/3959">#3959</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Consistently apply force exclusion logic before resolving symlinks (<a href="https://redirect.github.com/psf/black/issues/4015">#4015</a>)</li> <li>Fix a bug in the matching of absolute path names in <code>--include</code> (<a href="https://redirect.github.com/psf/black/issues/3976">#3976</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix mypyc builds on arm64 on macOS (<a href="https://redirect.github.com/psf/black/issues/4017">#4017</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Black's pre-commit integration will now run only on git hooks appropriate for a code formatter (<a href="https://redirect.github.com/psf/black/issues/3940">#3940</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p> <blockquote> <h2>23.11.0</h2> <h3>Highlights</h3> <ul> <li>Support formatting ranges of lines with the new <code>--line-ranges</code> command-line option (<a href="https://redirect.github.com/psf/black/issues/4020">#4020</a>)</li> </ul> <h3>Stable style</h3> <ul> <li>Fix crash on formatting bytes strings that look like docstrings (<a href="https://redirect.github.com/psf/black/issues/4003">#4003</a>)</li> <li>Fix crash when whitespace followed a backslash before newline in a docstring (<a href="https://redirect.github.com/psf/black/issues/4008">#4008</a>)</li> <li>Fix standalone comments inside complex blocks crashing Black (<a href="https://redirect.github.com/psf/black/issues/4016">#4016</a>)</li> <li>Fix crash on formatting code like <code>await (a ** b)</code> (<a href="https://redirect.github.com/psf/black/issues/3994">#3994</a>)</li> <li>No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash (<a href="https://redirect.github.com/psf/black/issues/4019">#4019</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Multiline dicts and lists that are the sole argument to a function are now indented less (<a href="https://redirect.github.com/psf/black/issues/3964">#3964</a>)</li> <li>Multiline unpacked dicts and lists as the sole argument to a function are now also indented less (<a href="https://redirect.github.com/psf/black/issues/3992">#3992</a>)</li> <li>In f-string debug expressions, quote types that are visible in the final string are now preserved (<a href="https://redirect.github.com/psf/black/issues/4005">#4005</a>)</li> <li>Fix a bug where long <code>case</code> blocks were not split into multiple lines. Also enable general trailing comma rules on <code>case</code> blocks (<a href="https://redirect.github.com/psf/black/issues/4024">#4024</a>)</li> <li>Keep requiring two empty lines between module-level docstring and first function or class definition (<a href="https://redirect.github.com/psf/black/issues/4028">#4028</a>)</li> <li>Add support for single-line format skip with other comments on the same line (<a href="https://redirect.github.com/psf/black/issues/3959">#3959</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Consistently apply force exclusion logic before resolving symlinks (<a href="https://redirect.github.com/psf/black/issues/4015">#4015</a>)</li> <li>Fix a bug in the matching of absolute path names in <code>--include</code> (<a href="https://redirect.github.com/psf/black/issues/3976">#3976</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Fix mypyc builds on arm64 on macOS (<a href="https://redirect.github.com/psf/black/issues/4017">#4017</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>Black's pre-commit integration will now run only on git hooks appropriate for a code formatter (<a href="https://redirect.github.com/psf/black/issues/3940">#3940</a>)</li> </ul> <h2>23.10.1</h2> <h3>Highlights</h3> <ul> <li>Maintenance release to get a fix out for GitHub Action edge case (<a href="https://redirect.github.com/psf/black/issues/3957">#3957</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
85f222aeb1
|
chore(deps): update black requirement from ~=23.9 to ~=23.10 (#161)
Updates the requirements on [black](https://github.com/psf/black) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p> <blockquote> <h2>23.10.1</h2> <h3>Highlights</h3> <ul> <li>Maintanence release to get a fix out for GitHub Action edge case (<a href="https://redirect.github.com/psf/black/issues/3957">#3957</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Fix merging implicit multiline strings that have inline comments (<a href="https://redirect.github.com/psf/black/issues/3956">#3956</a>)</li> <li>Allow empty first line after block open before a comment or compound statement (<a href="https://redirect.github.com/psf/black/issues/3967">#3967</a>)</li> </ul> <h3>Packaging</h3> <ul> <li>Change Dockerfile to hatch + compile black (<a href="https://redirect.github.com/psf/black/issues/3965">#3965</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>The summary output for GitHub workflows is now suppressible using the <code>summary</code> parameter. (<a href="https://redirect.github.com/psf/black/issues/3958">#3958</a>)</li> <li>Fix the action failing when Black check doesn't pass (<a href="https://redirect.github.com/psf/black/issues/3957">#3957</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>It is known Windows documentation CI is broken <a href="https://redirect.github.com/psf/black/issues/3968">psf/black#3968</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p> <blockquote> <h2>23.10.1</h2> <h3>Highlights</h3> <ul> <li>Maintenance release to get a fix out for GitHub Action edge case (<a href="https://redirect.github.com/psf/black/issues/3957">#3957</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Fix merging implicit multiline strings that have inline comments (<a href="https://redirect.github.com/psf/black/issues/3956">#3956</a>)</li> <li>Allow empty first line after block open before a comment or compound statement (<a href="https://redirect.github.com/psf/black/issues/3967">#3967</a>)</li> </ul> <h3>Packaging</h3> <ul> <li>Change Dockerfile to hatch + compile black (<a href="https://redirect.github.com/psf/black/issues/3965">#3965</a>)</li> </ul> <h3>Integrations</h3> <ul> <li>The summary output for GitHub workflows is now suppressible using the <code>summary</code> parameter. (<a href="https://redirect.github.com/psf/black/issues/3958">#3958</a>)</li> <li>Fix the action failing when Black check doesn't pass (<a href="https://redirect.github.com/psf/black/issues/3957">#3957</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>It is known Windows documentation CI is broken <a href="https://redirect.github.com/psf/black/issues/3968">psf/black#3968</a></li> </ul> <h2>23.10.0</h2> <h3>Stable style</h3> <ul> <li>Fix comments getting removed from inside parenthesized strings (<a href="https://redirect.github.com/psf/black/issues/3909">#3909</a>)</li> </ul> <h3>Preview style</h3> <ul> <li>Fix long lines with power operators getting split before the line length (<a href="https://redirect.github.com/psf/black/issues/3942">#3942</a>)</li> <li>Long type hints are now wrapped in parentheses and properly indented when split across multiple lines (<a href="https://redirect.github.com/psf/black/issues/3899">#3899</a>)</li> <li>Magic trailing commas are now respected in return types. (<a href="https://redirect.github.com/psf/black/issues/3916">#3916</a>)</li> <li>Require one empty line after module-level docstrings. (<a href="https://redirect.github.com/psf/black/issues/3932">#3932</a>)</li> <li>Treat raw triple-quoted strings as docstrings (<a href="https://redirect.github.com/psf/black/issues/3947">#3947</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Fix cache versioning logic when <code>BLACK_CACHE_DIR</code> is set (<a href="https://redirect.github.com/psf/black/issues/3937">#3937</a>)</li> </ul> <h3>Parser</h3> <ul> <li>Fix bug where attributes named <code>type</code> were not accepted inside <code>match</code> statements (<a href="https://redirect.github.com/psf/black/issues/3950">#3950</a>)</li> <li>Add support for PEP 695 type aliases containing lambdas and other unusual expressions</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
63add2b749
|
chore(deps): bump pytest from 7.4.2 to 7.4.3 (#160)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.2 to 7.4.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>pytest 7.4.3 (2023-10-24)</h2> <h2>Bug Fixes</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10447">#10447</a>: Markers are now considered in the reverse mro order to ensure base class markers are considered first -- this resolves a regression.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11239">#11239</a>: Fixed <code>:=</code> in asserts impacting unrelated test cases.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11439">#11439</a>: Handled an edge case where :data:<code>sys.stderr</code> might already be closed when :ref:<code>faulthandler</code> is tearing down.</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
Mohamed El Mouctar Haidara
|
d14f8d42ce
|
Support for ansible-core 2.15 (#151)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
dependabot[bot]
|
d0faeddb58
|
chore(deps): update black requirement from ~=23.7 to ~=23.9 (#156)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
dependabot[bot]
|
aacefb0765
|
chore(deps): bump pytest from 7.4.0 to 7.4.2 (#157)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
dependabot[bot]
|
067e351995
|
chore(deps): bump pytest from 7.3.1 to 7.4.0 (#152)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
dependabot[bot]
|
5f5d7fc6a8
|
chore(deps): update black requirement from ~=23.3 to ~=23.7 (#153)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
dependabot[bot]
|
7922f50eff
|
chore(deps): bump pytest-cov from 4.0.0 to 4.1.0 (#149)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
Mohamed El Mouctar Haidara
|
f2c3fc89cf
|
feat(mermaid): Add support for loop icon (#146) | ||
Mohamed El Mouctar Haidara
|
389e6ffda3
|
Initial support for mermaidjs (#144)
Co-authored-by: haidaraM <haidaraM@users.noreply.github.com> |
||
Mohamed El Mouctar Haidara
|
bc318c5814
|
feat: Refactor the rendering part to make it more extensible (#143)
Co-authored-by: haidaraM <haidaraM@users.noreply.github.com> |
||
dependabot[bot]
|
226bbd9a7f
|
chore(deps): bump pytest from 7.3.0 to 7.3.1 (#142)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
dependabot[bot]
|
9fff5c50fd
|
chore(deps): update black requirement from ~=23.0 to ~=23.3 (#141)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
dependabot[bot]
|
086c7b16ce
|
chore(deps): bump pytest from 7.1.3 to 7.3.0 (#140)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
Mohamed El Mouctar Haidara
|
84d759d70c
|
ci: Trigger black on python file changes only + autocommit (#139)
Co-authored-by: haidaraM <haidaraM@users.noreply.github.com> |
||
dependabot[bot]
|
31a264b285
|
chore(deps): bump pyquery from 1.4.3 to 2.0.0 (#135)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
Mohamed El Mouctar Haidara
|
3326ab0dde
|
feat: Add rendered images to job summary (#112) | ||
Mohamed El Mouctar Haidara
|
12cee0fbd5
|
feat: Add test cases for role dependencies (#127) | ||
dependabot[bot]
|
0b1124b8f1
|
chore(deps): update ansible-core requirement from <2.13,>=2.11 to >=2.12,<2.14 (#115)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mohamed El Mouctar HAIDARA <elmhaidara@gmail.com> |
||
dependabot[bot]
|
a8dfd02434
|
chore(deps): bump pytest from 7.1.2 to 7.1.3 (#126)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
dependabot[bot]
|
1c329326a7
|
chore(deps): bump pytest-cov from 3.0.0 to 4.0.0 (#125)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
Mohamed El Mouctar Haidara
|
75f26a9ea2
|
feat: Add a flag to group roles by name - Revert the old behavior (#122) | ||
Mohamed El Mouctar Haidara
|
e7f23daee7
|
fix: Roles usages and do not use multiple edges for role tasks (#120) | ||
Mohamed El Mouctar HAIDARA
|
4599b10f4f | fix: Only render role once for multiple playbooks and refactor | ||
Mohamed El Mouctar Haidara
|
af67fd5f60
|
feat: Add support multiple playbooks in one graph (#118) | ||
Mohamed El Mouctar Haidara
|
89534c1fd3
|
feat: Add test case for community downloaded roles and collections (#117) | ||
Mohamed El Mouctar Haidara
|
f3dbfd0ed1
|
fix: Render a single node when multiple playbooks use the same role (#111)
* fix: Render a single node when multiple playbooks use the same role Related to #110 |