Commit graph

146 commits

Author SHA1 Message Date
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="3702ba224e"><code>3702ba2</code></a>
Prepare release 24.4.2 (<a
href="https://redirect.github.com/psf/black/issues/4335">#4335</a>)</li>
<li><a
href="e4aaa8a994"><code>e4aaa8a</code></a>
Fix incorrect f-string tokenization (<a
href="https://redirect.github.com/psf/black/issues/4332">#4332</a>)</li>
<li><a
href="ba88fc372e"><code>ba88fc3</code></a>
Simplify string tokenization regexes (<a
href="https://redirect.github.com/psf/black/issues/4331">#4331</a>)</li>
<li><a
href="5683242fd4"><code>5683242</code></a>
New release template</li>
<li><a
href="e7fb048281"><code>e7fb048</code></a>
Prepare release 24.4.1 (<a
href="https://redirect.github.com/psf/black/issues/4328">#4328</a>)</li>
<li><a
href="3f0f8f1956"><code>3f0f8f1</code></a>
Support PEP 696 (<a
href="https://redirect.github.com/psf/black/issues/4327">#4327</a>)</li>
<li><a
href="2f88085da5"><code>2f88085</code></a>
Github Action: Directly install from repo if <code>export-subst</code>
is skipped (<a
href="https://redirect.github.com/psf/black/issues/4313">#4313</a>)</li>
<li><a
href="12ce3db077"><code>12ce3db</code></a>
Move changelog entry to right section (<a
href="https://redirect.github.com/psf/black/issues/4326">#4326</a>)</li>
<li><a
href="1354be2525"><code>1354be2</code></a>
Add support to style function definitions with newlines before function
stubs...</li>
<li><a
href="f4b644b82f"><code>f4b644b</code></a>
Prevent wrapping of multiline fstrings in parens (<a
href="https://redirect.github.com/psf/black/issues/4325">#4325</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/black/compare/24.3.0...24.4.2">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-05 22:50:11 +02:00
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="552baf8229"><code>552baf8</code></a>
Prepare release 24.3.0 (<a
href="https://redirect.github.com/psf/black/issues/4279">#4279</a>)</li>
<li><a
href="f000936726"><code>f000936</code></a>
Fix catastrophic performance in lines_with_leading_tabs_expanded() (<a
href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li>
<li><a
href="7b5a657285"><code>7b5a657</code></a>
Fix --line-ranges behavior when ranges are at EOF (<a
href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li>
<li><a
href="1abcffc818"><code>1abcffc</code></a>
Use regex where we ignore case on windows (<a
href="https://redirect.github.com/psf/black/issues/4252">#4252</a>)</li>
<li><a
href="719e67462c"><code>719e674</code></a>
Fix 4227: Improve documentation for --quiet --check (<a
href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li>
<li><a
href="e5510afc06"><code>e5510af</code></a>
update plugin url for Thonny (<a
href="https://redirect.github.com/psf/black/issues/4259">#4259</a>)</li>
<li><a
href="6af7d11096"><code>6af7d11</code></a>
Fix AST safety check false negative (<a
href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li>
<li><a
href="f03ee113c9"><code>f03ee11</code></a>
Ensure <code>blib2to3.pygram</code> is initialized before use (<a
href="https://redirect.github.com/psf/black/issues/4224">#4224</a>)</li>
<li><a
href="e4bfedbec2"><code>e4bfedb</code></a>
fix: Don't move comments while splitting delimiters (<a
href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li>
<li><a
href="d0287e1f75"><code>d0287e1</code></a>
Make trailing comma logic more concise (<a
href="https://redirect.github.com/psf/black/issues/4202">#4202</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/black/compare/24.2.0...24.3.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-24 20:34:20 +02:00
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)
&lt;https://github.com/pytest-dev/pytest-cov/pull/623&gt;</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)
&lt;https://github.com/pytest-dev/pytest-cov/pull/630&gt;</code><em>,
<code>[#631](https://github.com/pytest-dev/pytest-cov/issues/631)
&lt;https://github.com/pytest-dev/pytest-cov/pull/631&gt;</code></em>,
<code>[#632](https://github.com/pytest-dev/pytest-cov/issues/632)
&lt;https://github.com/pytest-dev/pytest-cov/pull/632&gt;</code>_ and
<code>[#633](https://github.com/pytest-dev/pytest-cov/issues/633)
&lt;https://github.com/pytest-dev/pytest-cov/pull/633&gt;</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)
&lt;https://github.com/pytest-dev/pytest-cov/pull/626&gt;</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)
&lt;https://github.com/pytest-dev/pytest-cov/pull/584&gt;</code>_.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="5295ce01c8"><code>5295ce0</code></a>
Bump version: 4.1.0 → 5.0.0</li>
<li><a
href="1181b06797"><code>1181b06</code></a>
Update changelog.</li>
<li><a
href="9757222e2e"><code>9757222</code></a>
Fix a minor grammar error (<a
href="https://redirect.github.com/pytest-dev/pytest-cov/issues/636">#636</a>)</li>
<li><a
href="9f5cd81a0d"><code>9f5cd81</code></a>
Cleanup releasing instructions. Closes <a
href="https://redirect.github.com/pytest-dev/pytest-cov/issues/616">#616</a>.</li>
<li><a
href="93b5047ec5"><code>93b5047</code></a>
Add test for pyproject.toml loading without explicit --cov-config. Ref
<a
href="https://redirect.github.com/pytest-dev/pytest-cov/issues/508">#508</a>.</li>
<li><a
href="ff50860d7c"><code>ff50860</code></a>
docs: add config instructions for pyproject.toml.</li>
<li><a
href="4a5a4b5fa4"><code>4a5a4b5</code></a>
Keep GitHub Actions up to date with GitHub's Dependabot</li>
<li><a
href="1d7f55963d"><code>1d7f559</code></a>
Fix or remove URLs that are causing docs tests to fail</li>
<li><a
href="6a5af8e85b"><code>6a5af8e</code></a>
Update changelog.</li>
<li><a
href="d9fe8dfed1"><code>d9fe8df</code></a>
Switch to furo. Closes <a
href="https://redirect.github.com/pytest-dev/pytest-cov/issues/618">#618</a>.</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest-cov/compare/v4.1.0...v5.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-cov&package-manager=pip&previous-version=4.1.0&new-version=5.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-24 20:32:23 +02:00
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=&quot;confval&quot;} 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=&quot;confval&quot;} configuration option for fine-grained control
of test execution verbosity.
See <code>Fine-grained verbosity
&lt;pytest.fine_grained_verbosity&gt;</code>{.interpreted-text
role=&quot;ref&quot;} 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=&quot;func&quot;} now
validates that <code>warnings.warn</code>{.interpreted-text
role=&quot;func&quot;} 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=&quot;func&quot;} 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=&quot;class&quot;}.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>:
<code>--import-mode=importlib
&lt;import-mode-importlib&gt;</code>{.interpreted-text
role=&quot;ref&quot;} now tries to import modules using the standard
import mechanism (but still without changing
:py<code>sys.path</code>{.interpreted-text role=&quot;data&quot;}),
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()
&lt;_pytest.nodes.Node.iter_parents&gt;</code>{.interpreted-text
role=&quot;func&quot;} helper method on nodes.
It is similar to <code>listchain
&lt;_pytest.nodes.Node.listchain&gt;</code>{.interpreted-text
role=&quot;func&quot;}, 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=&quot;data&quot;} for post-mortem debugging on Python&gt;=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>&quot;w&quot;</code> or <code>&quot;a&quot;</code> and defaults to
<code>&quot;w&quot;</code>.</p>
<p>Previously, the mode was hard-coded to be <code>&quot;w&quot;</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="81653ee385"><code>81653ee</code></a>
Adjust changelog manually for 8.1.1</li>
<li><a
href="e60b4b9ed8"><code>e60b4b9</code></a>
Prepare release version 8.1.1</li>
<li><a
href="15fbe57c44"><code>15fbe57</code></a>
[8.1.x] Revert legacy path removals (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12093">#12093</a>)</li>
<li><a
href="86c3aab005"><code>86c3aab</code></a>
[8.1.x] Do not import duplicated modules with --importmode=importlib (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12077">#12077</a>)</li>
<li><a
href="5b82b0cd20"><code>5b82b0c</code></a>
[8.1.x] Yank version 8.1.0 (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12076">#12076</a>)</li>
<li><a
href="0a536810dc"><code>0a53681</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12054">#12054</a>
from pytest-dev/release-8.1.0</li>
<li><a
href="b9a167f9bb"><code>b9a167f</code></a>
Prepare release version 8.1.0</li>
<li><a
href="00043f7f10"><code>00043f7</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12038">#12038</a>
from bluetech/fixtures-rm-arg2index</li>
<li><a
href="f4e10251a4"><code>f4e1025</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12048">#12048</a>
from bluetech/fixture-teardown-excgroup</li>
<li><a
href="43492f5707"><code>43492f5</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12051">#12051</a>
from jakkdl/test_debugging_pythonbreakpoint</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/8.0.2...8.1.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest&package-manager=pip&previous-version=8.0.2&new-version=8.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-21 23:48:20 +02:00
Mohamed El Mouctar HAIDARA
9b520eddd2 test: remove unused exception 2024-04-21 19:53:31 +02:00
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>
2024-03-30 16:24:54 +01:00
Mohamed El Mouctar Haidara
21d54107ac
feat: Add support for hiding empty plays and plays without roles (#177) 2024-03-25 19:08:11 +01:00
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>
2024-03-23 06:55:34 +01:00
dependabot[bot]
48498afb96
chore(deps): bump pytest from 8.0.0 to 8.0.2 (#173) 2024-03-14 06:06:28 +01:00
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="6fdf8a4af2"><code>6fdf8a4</code></a>
Prepare release 24.2.0 (<a
href="https://redirect.github.com/psf/black/issues/4226">#4226</a>)</li>
<li><a
href="8af439407c"><code>8af4394</code></a>
fix: Don't remove comments along with parens (<a
href="https://redirect.github.com/psf/black/issues/4218">#4218</a>)</li>
<li><a
href="35e9776919"><code>35e9776</code></a>
Bump pre-commit/action from 3.0.0 to 3.0.1 (<a
href="https://redirect.github.com/psf/black/issues/4225">#4225</a>)</li>
<li><a
href="23dfc5b2c3"><code>23dfc5b</code></a>
Fix ignoring input files for symlink reasons (<a
href="https://redirect.github.com/psf/black/issues/4222">#4222</a>)</li>
<li><a
href="a20100395c"><code>a201003</code></a>
Simplify check for symlinks that resolve outside root (<a
href="https://redirect.github.com/psf/black/issues/4221">#4221</a>)</li>
<li><a
href="dab37a6a11"><code>dab37a6</code></a>
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>
<li><a
href="32230e6f5c"><code>32230e6</code></a>
fix: bug where the doublestar operation had inconsistent formatting. (<a
href="https://redirect.github.com/psf/black/issues/4154">#4154</a>)</li>
<li><a
href="7edb50f5a0"><code>7edb50f</code></a>
fix: additional newline added to docstring when the previous line length
is l...</li>
<li><a
href="3e80de3447"><code>3e80de3</code></a>
Bump furo from 2023.9.10 to 2024.1.29 in /docs (<a
href="https://redirect.github.com/psf/black/issues/4211">#4211</a>)</li>
<li><a
href="a08b480a2f"><code>a08b480</code></a>
Bump pypa/cibuildwheel from 2.16.4 to 2.16.5 (<a
href="https://redirect.github.com/psf/black/issues/4212">#4212</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/black/compare/24.1.0...24.2.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-14 06:01:44 +01:00
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="e026c93888"><code>e026c93</code></a>
Prepare release 24.1.1 (<a
href="https://redirect.github.com/psf/black/issues/4186">#4186</a>)</li>
<li><a
href="79fc1158a9"><code>79fc115</code></a>
chore: ignore node_modules (produced by a pre-commit check) (<a
href="https://redirect.github.com/psf/black/issues/4184">#4184</a>)</li>
<li><a
href="8bf04549ff"><code>8bf0454</code></a>
Consistently add trailing comma on typed parameters (<a
href="https://redirect.github.com/psf/black/issues/4164">#4164</a>)</li>
<li><a
href="1607e9ab20"><code>1607e9a</code></a>
Fix missing space in option description (<a
href="https://redirect.github.com/psf/black/issues/4182">#4182</a>)</li>
<li><a
href="ed770ba4dd"><code>ed770ba</code></a>
Fix cache file length (<a
href="https://redirect.github.com/psf/black/issues/4176">#4176</a>)</li>
<li><a
href="659c29a41c"><code>659c29a</code></a>
New changelog</li>
<li><a
href="0e6e46b9eb"><code>0e6e46b</code></a>
Prepare release 24.1.0 (<a
href="https://redirect.github.com/psf/black/issues/4170">#4170</a>)</li>
<li><a
href="4f47cac192"><code>4f47cac</code></a>
Add --unstable flag (<a
href="https://redirect.github.com/psf/black/issues/4096">#4096</a>)</li>
<li><a
href="bccec8adfb"><code>bccec8a</code></a>
Show warning on invalid toml configuration (<a
href="https://redirect.github.com/psf/black/issues/4165">#4165</a>)</li>
<li><a
href="7d789469ed"><code>7d78946</code></a>
Describe 2024 module docstring more accurately (<a
href="https://redirect.github.com/psf/black/issues/4168">#4168</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/black/compare/23.12.0...24.1.1">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-22 00:33:04 +01:00
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
&lt;pytest.mark.skip ref&gt;</code>{.interpreted-text
role=&quot;ref&quot;} 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=&quot;hook&quot;} 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] == &quot;\n&quot; and source[-1] !=
&quot;\n&quot;</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=&quot;ref&quot;}
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="478f8233bc"><code>478f823</code></a>
Prepare release version 8.0.0</li>
<li><a
href="608590097a"><code>6085900</code></a>
[8.0.x] fix: avoid rounding microsecond to <code>1_000_000</code> (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11863">#11863</a>)</li>
<li><a
href="3b41c65c81"><code>3b41c65</code></a>
[8.0.x] Escape skip reason in junitxml (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11845">#11845</a>)</li>
<li><a
href="747072ad26"><code>747072a</code></a>
[8.0.x] Update docstring of scripts/generate-gh-release-notes.py (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11768">#11768</a>)</li>
<li><a
href="011a475baf"><code>011a475</code></a>
Properly attach packages to the GH release notes (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11839">#11839</a>)
(<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11840">#11840</a>)</li>
<li><a
href="97960bdd14"><code>97960bd</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11835">#11835</a>
from pytest-dev/release-8.0.0rc2</li>
<li><a
href="6be0a3cbf7"><code>6be0a3c</code></a>
Prepare release version 8.0.0rc2</li>
<li><a
href="44ffe07165"><code>44ffe07</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11837">#11837</a>
from pytest-dev/backport-11836-to-8.0.x</li>
<li><a
href="14ecb04973"><code>14ecb04</code></a>
[8.0.x] testing: temporarily disable test due to hypothesis issue</li>
<li><a
href="41c8dabee3"><code>41c8dab</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11831">#11831</a>
from bluetech/backport-11825-to-8.0.x</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/7.4.4...8.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest&package-manager=pip&previous-version=7.4.4&new-version=8.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-22 00:32:48 +01:00
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="ec91a2be3c"><code>ec91a2b</code></a>
Prepare release 23.12.1 (<a
href="https://redirect.github.com/psf/black/issues/4124">#4124</a>)</li>
<li><a
href="8fec1c3085"><code>8fec1c3</code></a>
Adds paren to deps for hidden extra constraint (<a
href="https://redirect.github.com/psf/black/issues/4108">#4108</a>)</li>
<li><a
href="35ce37ded7"><code>35ce37d</code></a>
Add new changelog template</li>
<li><a
href="d9ad09a32b"><code>d9ad09a</code></a>
Prepare release 23.12.0 (<a
href="https://redirect.github.com/psf/black/issues/4105">#4105</a>)</li>
<li><a
href="ebd543c0ac"><code>ebd543c</code></a>
Fix feature detection for parenthesized context managers (<a
href="https://redirect.github.com/psf/black/issues/4104">#4104</a>)</li>
<li><a
href="eb7661f8ab"><code>eb7661f</code></a>
Fix another case where we format dummy implementation for
non-functions/class...</li>
<li><a
href="0c9899956d"><code>0c98999</code></a>
Fix path in test message (<a
href="https://redirect.github.com/psf/black/issues/4102">#4102</a>)</li>
<li><a
href="9aea9768cb"><code>9aea976</code></a>
Only use dummy implementation logic for functions and classes (<a
href="https://redirect.github.com/psf/black/issues/4066">#4066</a>)</li>
<li><a
href="67b23d7185"><code>67b23d7</code></a>
Bump actions/setup-python from 4 to 5 (<a
href="https://redirect.github.com/psf/black/issues/4101">#4101</a>)</li>
<li><a
href="ce28be2705"><code>ce28be2</code></a>
Add dedicated preview feature for East Asian Width (<a
href="https://redirect.github.com/psf/black/issues/4097">#4097</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/black/compare/23.11.0...23.12.1">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-13 00:08:19 +01:00
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&gt;=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=&quot;data&quot;} and <code>sys.__stderr__</code>{.interpreted-text
role=&quot;data&quot;} might already be closed when
<code>faulthandler</code>{.interpreted-text role=&quot;ref&quot;} 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="33f694f4b3"><code>33f694f</code></a>
Prepare release version 7.4.4</li>
<li><a
href="76c107c463"><code>76c107c</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11751">#11751</a>
from bluetech/backport-11143-to-7.4.x</li>
<li><a
href="531d76daa4"><code>531d76d</code></a>
[7.4.x] Improve reporting from <strong>iter</strong> exceptions (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11749">#11749</a>)</li>
<li><a
href="a0f58fa9e7"><code>a0f58fa</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11143">#11143</a>
from tushar-deepsource/patch-1</li>
<li><a
href="b1f3387d42"><code>b1f3387</code></a>
[7.4.x] <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11091">#11091</a>:
documentation should use hypthonated properties (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11750">#11750</a>)</li>
<li><a
href="2cdd619bf4"><code>2cdd619</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11747">#11747</a>
from pytest-dev/backport-11711-to-7.4.x</li>
<li><a
href="d06c05bd23"><code>d06c05b</code></a>
[7.4.x] nodes: fix tracebacks from collection errors are not getting
pruned</li>
<li><a
href="5582bfcddf"><code>5582bfc</code></a>
[7.4.x] Improves clarity in Sphinx documentation for function signature.
(<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11">#11</a>...</li>
<li><a
href="13024efd7a"><code>13024ef</code></a>
[7.4.x] Fix for operation on closed file in faulthandler teardown (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11631">#11631</a>)</li>
<li><a
href="a40dacf657"><code>a40dacf</code></a>
[7.4.x] XFAIL TestLocalPath.test_make_numbered_dir_multiprocess_safe (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11616">#11616</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/7.4.3...7.4.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest&package-manager=pip&previous-version=7.4.3&new-version=7.4.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-12 23:57:53 +01:00
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="2a1c67e0b2"><code>2a1c67e</code></a>
Prepare release 23.11.0 (<a
href="https://redirect.github.com/psf/black/issues/4032">#4032</a>)</li>
<li><a
href="72e7a2e43e"><code>72e7a2e</code></a>
Remove redundant condition from <code>has_magic_trailing_comma</code>
(<a
href="https://redirect.github.com/psf/black/issues/4023">#4023</a>)</li>
<li><a
href="1a7d9c2f58"><code>1a7d9c2</code></a>
Preserve visible quote types for f-string debug expressions (<a
href="https://redirect.github.com/psf/black/issues/4005">#4005</a>)</li>
<li><a
href="f4c7be5445"><code>f4c7be5</code></a>
docs: fix minor typo (<a
href="https://redirect.github.com/psf/black/issues/4030">#4030</a>)</li>
<li><a
href="2e4fac9d87"><code>2e4fac9</code></a>
Apply force exclude logic before symlink resolution (<a
href="https://redirect.github.com/psf/black/issues/4015">#4015</a>)</li>
<li><a
href="66008fda5d"><code>66008fd</code></a>
[563] Fix standalone comments inside complex blocks crashing Black (<a
href="https://redirect.github.com/psf/black/issues/4016">#4016</a>)</li>
<li><a
href="50ed6221d9"><code>50ed622</code></a>
Fix long case blocks not split into multiple lines (<a
href="https://redirect.github.com/psf/black/issues/4024">#4024</a>)</li>
<li><a
href="46be1f8e54"><code>46be1f8</code></a>
Support formatting specified lines (<a
href="https://redirect.github.com/psf/black/issues/4020">#4020</a>)</li>
<li><a
href="ecbd9e8cf7"><code>ecbd9e8</code></a>
Fix crash with f-string docstrings (<a
href="https://redirect.github.com/psf/black/issues/4019">#4019</a>)</li>
<li><a
href="e808e61db8"><code>e808e61</code></a>
Preview: Keep requiring two empty lines between module-level docstring
and fi...</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/black/compare/23.10.0...23.11.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-02 02:16:19 +01:00
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="744d23b348"><code>744d23b</code></a>
Prepare release 23.10.1 (<a
href="https://redirect.github.com/psf/black/issues/3969">#3969</a>)</li>
<li><a
href="8de4be5168"><code>8de4be5</code></a>
Fix CI failing (<a
href="https://redirect.github.com/psf/black/issues/3957">#3957</a>)</li>
<li><a
href="c0adca321d"><code>c0adca3</code></a>
docs: specifies the use of the .git-blame-ignore-revs file (<a
href="https://redirect.github.com/psf/black/issues/3961">#3961</a>)</li>
<li><a
href="a7643fac8d"><code>a7643fa</code></a>
Add summary parameter to action (<a
href="https://redirect.github.com/psf/black/issues/3958">#3958</a>)</li>
<li><a
href="d291c2338c"><code>d291c23</code></a>
Move Docker image to hatch + compile (<a
href="https://redirect.github.com/psf/black/issues/3965">#3965</a>)</li>
<li><a
href="7f1c578b89"><code>7f1c578</code></a>
Bump peter-evans/create-or-update-comment from 3.0.2 to 3.1.0 (<a
href="https://redirect.github.com/psf/black/issues/3966">#3966</a>)</li>
<li><a
href="2db5ab0a7b"><code>2db5ab0</code></a>
Allow empty line after block open before a comment or compound statement
(<a
href="https://redirect.github.com/psf/black/issues/3967">#3967</a>)</li>
<li><a
href="0a37888e79"><code>0a37888</code></a>
Fix typos in CHANGES.md (<a
href="https://redirect.github.com/psf/black/issues/3963">#3963</a>)</li>
<li><a
href="882d8795c6"><code>882d879</code></a>
Fix merging implicit multiline strings that have inline comments (<a
href="https://redirect.github.com/psf/black/issues/3956">#3956</a>)</li>
<li><a
href="9edba85f71"><code>9edba85</code></a>
Prepare release 23.10.0 (<a
href="https://redirect.github.com/psf/black/issues/3951">#3951</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/black/compare/23.9.0...23.10.1">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 16:37:28 +01:00
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="2390610696"><code>2390610</code></a>
Tweak changelog.rst</li>
<li><a
href="a0714aa007"><code>a0714aa</code></a>
Prepare release version 7.4.3</li>
<li><a
href="44ad1c9811"><code>44ad1c9</code></a>
[7.4.x] fix <a
href="https://redirect.github.com/pytest-dev/pytest/issues/10447">#10447</a>
- consider marks in reverse mro order to give base classes...</li>
<li><a
href="5dc77253d4"><code>5dc7725</code></a>
[7.4.x] Ensure logging tests always cleanup after themselves (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11541">#11541</a>)</li>
<li><a
href="a517827318"><code>a517827</code></a>
[7.4.x] Configure ReadTheDocs to fail on warnings (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11540">#11540</a>)</li>
<li><a
href="21fe071d79"><code>21fe071</code></a>
[7.4.x] fix for ValueError raised in faulthandler teardown code (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11455">#11455</a>)</li>
<li><a
href="f8bb8572fe"><code>f8bb857</code></a>
Force terminal width when running tests (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11425">#11425</a>)
(<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11432">#11432</a>)</li>
<li><a
href="1944dc06d3"><code>1944dc0</code></a>
[7.4.x] Fix --import-mode=importlib when root contains
<code>__init__.py</code> file (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/1">#1</a>...</li>
<li><a
href="946634c84c"><code>946634c</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11419">#11419</a>
from nicoddemus/backport-11414-to-7.4.x</li>
<li><a
href="d849a3ed64"><code>d849a3e</code></a>
[7.4.x] fix: closes <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11343">#11343</a>'s
[attr-defined] type errors (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11421">#11421</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/7.4.2...7.4.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest&package-manager=pip&previous-version=7.4.2&new-version=7.4.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 16:37:00 +01:00
Mohamed El Mouctar Haidara
d14f8d42ce
Support for ansible-core 2.15 (#151)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-01 11:30:32 +02:00
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>
2023-10-01 07:48:10 +02:00
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>
2023-10-01 07:47:31 +02:00
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>
2023-08-12 00:52:35 +02:00
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>
2023-08-12 00:52:23 +02:00
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>
2023-06-03 20:22:50 +02:00
Mohamed El Mouctar Haidara
f2c3fc89cf
feat(mermaid): Add support for loop icon (#146) 2023-05-13 18:21:39 +02:00
Mohamed El Mouctar Haidara
389e6ffda3
Initial support for mermaidjs (#144)
Co-authored-by: haidaraM <haidaraM@users.noreply.github.com>
2023-05-13 14:41:07 +02:00
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>
2023-05-10 18:45:57 +02:00
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>
2023-05-02 22:43:19 +02:00
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>
2023-05-02 22:42:46 +02:00
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>
2023-05-02 22:33:59 +02:00
Mohamed El Mouctar Haidara
84d759d70c
ci: Trigger black on python file changes only + autocommit (#139)
Co-authored-by: haidaraM <haidaraM@users.noreply.github.com>
2023-04-12 16:43:44 +02:00
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>
2023-01-04 09:47:51 +01:00
Mohamed El Mouctar Haidara
3326ab0dde
feat: Add rendered images to job summary (#112) 2022-10-17 15:46:07 +02:00
Mohamed El Mouctar Haidara
12cee0fbd5
feat: Add test cases for role dependencies (#127) 2022-10-11 00:32:23 +02:00
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>
2022-10-09 14:12:57 +02:00
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>
2022-10-01 14:07:13 +02:00
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>
2022-10-01 12:16:00 +02:00
Mohamed El Mouctar Haidara
75f26a9ea2
feat: Add a flag to group roles by name - Revert the old behavior (#122) 2022-08-20 14:35:27 +02:00
Mohamed El Mouctar Haidara
e7f23daee7
fix: Roles usages and do not use multiple edges for role tasks (#120) 2022-08-17 22:20:55 +02:00
Mohamed El Mouctar HAIDARA
4599b10f4f fix: Only render role once for multiple playbooks and refactor 2022-08-15 02:37:03 +02:00
Mohamed El Mouctar Haidara
af67fd5f60
feat: Add support multiple playbooks in one graph (#118) 2022-08-14 22:59:46 +02:00
Mohamed El Mouctar Haidara
89534c1fd3
feat: Add test case for community downloaded roles and collections (#117) 2022-07-30 20:54:55 +02:00
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
2022-07-02 11:40:00 +02:00
Mohamed El Mouctar HAIDARA
3f6dd6f27b tests: change assert order for consistency 2022-06-26 18:02:49 +02:00
dependabot[bot]
8f877a6d49
chore(deps): bump pytest from 7.1.1 to 7.1.2 (#107)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-19 00:02:42 +02:00
Mohamed El Mouctar Haidara
2d5f70d6f6
refactor(internal): Remove useless EdgeNode (#109) 2022-06-18 00:11:16 +02:00
dependabot[bot]
9f0ea1e7c8
chore(deps): bump pytest from 7.0.1 to 7.1.1 (#106)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.0.1 to 7.1.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.0.1...7.1.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-23 19:17:19 +02:00
dependabot[bot]
a4553455e2
chore(deps): bump pytest from 6.2.5 to 7.0.1 (#105)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.5 to 7.0.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.5...7.0.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-13 15:05:03 +01:00
Mohamed El Mouctar Haidara
d61ba1ed0b
fix: Properly rank the edges in the graphs and sub-graphs (#104) 2022-02-15 19:47:32 +01:00
Mohamed El Mouctar Haidara
0e16ceb53e
refactor: format the code with black (#102) 2022-02-07 23:41:13 +01:00
Mohamed El Mouctar Haidara
826c6ef284
feat: Open node file when double-clicking on it from a browser (#79) 2022-01-29 14:47:09 +01:00