Skip to content

Release v2.2.0#83

Merged
sco1 merged 12 commits into
masterfrom
dev-next
Jul 6, 2020
Merged

Release v2.2.0#83
sco1 merged 12 commits into
masterfrom
dev-next

Conversation

@sco1
Copy link
Copy Markdown
Owner

@sco1 sco1 commented May 13, 2020

Changelog

[v2.2.0]

Added

Fixed

Additional Details

Per #87: to help facilitate the gradual addition of typing to existing codebases, Mypy by default will not type check dynamically typed functions (aka functions with no hints). Because our default behavior is solely to check for the presence of annotations, this can create a conflict when the lack of hints for a particular function is intentional.

To support the use case of gradual addition of typing to a codebase, this release introduces an --allow-untyped-defs flag to optionally suppress all errors from completely unannotated function definitions, similar to how Mypy provides the --disallow-untyped-defs flag to suppress its default behavior of ignoring dynamically typed functions.

Closes #77
Closes #79
Closes #81
Closes #87

@sco1 sco1 changed the title Release v2.1.0 Release v2.1.1 May 13, 2020
@sco1 sco1 marked this pull request as ready for review May 13, 2020 20:15
sco1 added 3 commits May 25, 2020 12:24
To help facilitate the gradual addition of typing to existing codebases, Mypy by default will not type check dynamically typed functions (aka functions with no hints). Because our default behavior is solely to check for the presence of annotations, this can create a conflict when the lack of hints for a particular function is intentional.

To support the use case of gradual addition of typing to a codebase, this introduces an `--allow-untyped-defs` flag to optionally suppress all errors from completely unannotated function definitions, similar to how Mypy provides the `--disallow-untyped-defs` flag to suppress the default behavior of ignoring dynamically typed functions.
Fix bug in checker logic where `is_dynamically_typed` method wasn't being called.
@sco1 sco1 changed the title Release v2.1.1 Release v2.2.0 May 25, 2020
@sco1 sco1 added this to the 2.2.x milestone May 25, 2020
@ghost ghost added the needs 1 approval label Jun 17, 2020
@sco1 sco1 merged commit 63ad381 into master Jul 6, 2020
@sco1 sco1 deleted the dev-next branch July 6, 2020 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants