-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[
flake8-return
] Take NoReturn
annotation into account when analyz…
…ing implicit returns (#9636) ## Summary When we are analyzing the implicit return rule this change add an additional check to verify if the call expression has been annotated with NoReturn type from typing module. See: #5474 ## Test Plan ```bash cargo test ```
- Loading branch information
1 parent
fc3e266
commit 45628a5
Showing
3 changed files
with
358 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.