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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃敡 [mypy] Warn about unreachable code #1025

Merged
merged 3 commits into from
Nov 3, 2021

Conversation

cjolowicz
Copy link
Owner

@cjolowicz cjolowicz commented Nov 3, 2021

Fixes #985

  • 馃敡 [mypy] Warn about unreachable code
  • 馃敡 [nox] Avoid warning about unreachable code

@cjolowicz cjolowicz added the testing Adding missing tests or correcting existing tests label Nov 3, 2021
@cjolowicz cjolowicz merged commit b296a49 into main Nov 3, 2021
@cjolowicz cjolowicz deleted the retrocookie-pr/test/mypy-warn-unreachable branch November 3, 2021 04:38
cclauss pushed a commit to cclauss/cookiecutter-hypermodern-python that referenced this pull request Nov 3, 2021
* 馃敡 [mypy] Warn about unreachable code

* 馃敡 [nox] Avoid warning about unreachable code

`nox.Session.bin` is no longer `Optional` in recent versions of Nox.

* 馃摎 Document `mypy --warn-unreachable` in User Guide
@cjolowicz cjolowicz mentioned this pull request Nov 8, 2021
cjolowicz added a commit to cjolowicz/nox-poetry that referenced this pull request Nov 12, 2021
* 馃敡 [mypy] Warn about unreachable code

* 馃敡 [nox] Avoid warning about unreachable code

`nox.Session.bin` is no longer `Optional` in recent versions of Nox.

* 馃摎 Document `mypy --warn-unreachable` in User Guide

Cutty-Original-PR: cjolowicz/cookiecutter-hypermodern-python#1025
cjolowicz added a commit to cjolowicz/nox-poetry that referenced this pull request Nov 12, 2021
* Migrate cutty.json

* Fix typo in CONTRIBUTING.rst

Cutty-Original-PR: cjolowicz/cookiecutter-hypermodern-python#1010

* 馃敡 [mypy] Warn about unreachable code

* 馃敡 [mypy] Warn about unreachable code

* 馃敡 [nox] Avoid warning about unreachable code

`nox.Session.bin` is no longer `Optional` in recent versions of Nox.

* 馃摎 Document `mypy --warn-unreachable` in User Guide

Cutty-Original-PR: cjolowicz/cookiecutter-hypermodern-python#1025

* 馃懛 [github] Install Poetry and Nox using pipx in Tests workflow

* 馃懛 [github] Install Poetry using pipx in Tests workflow

* 馃懛 [github] Install Nox using pipx in Tests workflow

* 馃懛 [github] Use pipx in Cookiecutter CI as well

Cutty-Original-PR: cjolowicz/cookiecutter-hypermodern-python#1051

* Support Python 3.10

* 馃懛 [nox] Support Python 3.10

* 馃懛 [github] Use Python 3.10 in Tests workflow

* 馃懛 [github] Use Python 3.10 in Release workflow

* 馃摝 [poetry] Add Trove classifier for Python 3.10

* 馃摎 Document Python 3.10 support

Cutty-Original-PR: cjolowicz/cookiecutter-hypermodern-python#1052

* Drop support for Python 3.6

* 馃懛 [nox] Drop Python 3.6 from Nox sessions

* 馃摝 [poetry] Drop Python 3.6 from package metadata

* 馃懛 [github] Drop Python 3.6 from Tests workflow

* 馃摎 [CONTRIBUTING] Drop Python 3.6 from contributor guide

* 馃摎 Drop Python 3.6 from Cookiecutter documentation

* 馃懛 [github] Drop Python 3.6 from Cookiecutter CI

Cutty-Original-PR: cjolowicz/cookiecutter-hypermodern-python#1054

* 馃懛 [github] Use Python 3.10 on Windows and macOS in Tests workflow

Retrocookie-Original-Commit: cjolowicz/cookiecutter-hypermodern-python-instance@1c8a1e9

Co-authored-by: Benjamin Rose <benjamin.rose@me.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Adding missing tests or correcting existing tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

noxfile causes mypy error
1 participant