Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable mypy to discover type hints as specified in PEP 561 #933

Merged
merged 2 commits into from Dec 11, 2022

Conversation

simon04
Copy link
Contributor

@simon04 simon04 commented Dec 10, 2022

Fixes #840

@BoboTiG
Copy link
Collaborator

BoboTiG commented Dec 11, 2022

Thanks @simon04 🥂

@BoboTiG BoboTiG merged commit 293a31e into gorakhargosh:master Dec 11, 2022
16 of 23 checks passed
@samschott
Copy link
Contributor

Looks like py.typed should also be included in MANIFEST.in to be part of the wheel and sdist?

@BoboTiG
Copy link
Collaborator

BoboTiG commented Dec 13, 2022

Good catch! Done with 68ee5cd.

wxx9248 pushed a commit to wxx9248/CIS-Game-Project-2023W that referenced this pull request Jan 4, 2023
Bumps [watchdog](https://github.com/gorakhargosh/watchdog) from 2.2.0 to
2.2.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/gorakhargosh/watchdog/releases">watchdog's
releases</a>.</em></p>
<blockquote>
<h2>2.2.1</h2>
<ul>
<li>Enable mypy to discover type hints as specified in PEP 561 (<a
href="https://github-redirect.dependabot.com/gorakhargosh/watchdog/issues/933">#933</a>)</li>
<li>[ci] Set the expected Python version when building release
files</li>
<li>[ci] Update actions versions in use</li>
<li>[watchmedo] [regression] Fix usage of missing
<code>signal.SIGHUP</code> attribute on non-Unix OSes (<a
href="https://github-redirect.dependabot.com/gorakhargosh/watchdog/issues/935">#935</a>)</li>
</ul>
<p>💟 Thanks to our beloved contributors: <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a>, <a
href="https://github.com/simon04"><code>@​simon04</code></a>, <a
href="https://github.com/piotrpdev"><code>@​piotrpdev</code></a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst">watchdog's
changelog</a>.</em></p>
<blockquote>
<p>2.2.1</p>
<pre><code>
2023-01-01 • `full history
&lt;https://github.com/gorakhargosh/watchdog/compare/v2.2.0...v2.2.1&gt;`__
<ul>
<li>Enable <code>mypy</code> to discover type hints as specified in PEP
561 (<code>[#933](gorakhargosh/watchdog#933)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/933&amp;gt;</code>__)</li>
<li>[ci] Set the expected Python version when building release
files</li>
<li>[ci] Update actions versions in use</li>
<li>[watchmedo] [regression] Fix usage of missing
<code>signal.SIGHUP</code> attribute on non-Unix OSes
(<code>[#935](gorakhargosh/watchdog#935)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/935&amp;gt;</code>__)</li>
<li>Thanks to our beloved contributors: <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a>, <a
href="https://github.com/simon04"><code>@​simon04</code></a>, <a
href="https://github.com/piotrpdev"><code>@​piotrpdev</code></a>
</code></pre></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/858c8900f9e6f258b51e42981f85712812029dd2"><code>858c890</code></a>
Version 2.2.1</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/37cfcc1497a3898c656ccfbd2315592bc8333b77"><code>37cfcc1</code></a>
[ci] Set the expected Python version when building release files</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/6687c99316d1735b97e7c437b2e2b11c0b0e263f"><code>6687c99</code></a>
[watchmedo] [regression] Fix usage of missing <code>signal.SIGHUP</code>
attribute on no...</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/da7bc03f26eb0916ff88e7b73860c02467efa2ef"><code>da7bc03</code></a>
doc: time to move forward</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/68ee5cd4a57c0c738e890359de4c195c1b8e1b4e"><code>68ee5cd</code></a>
Add more files tro MANIFEST.in</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/293a31e1ffa3420b4ef329777f18272530480088"><code>293a31e</code></a>
Enable mypy to discover type hints as specified in PEP 561 (<a
href="https://github-redirect.dependabot.com/gorakhargosh/watchdog/issues/933">#933</a>)</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/14e95bb0f79a94eb90b573c6a9661f7724af6f4b"><code>14e95bb</code></a>
[ci] Update actions versions in use</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/82e3a3b6f68f388b4b0083905a8a93bfa71b0811"><code>82e3a3b</code></a>
Bump the version to 2.2.1</li>
<li>See full diff in <a
href="https://github.com/gorakhargosh/watchdog/compare/v2.2.0...v2.2.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=watchdog&package-manager=pip&previous-version=2.2.0&new-version=2.2.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 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mypy failure against sample code from watchdog homepage
3 participants