-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Guard invalid python annotations for 3.8 / 3.9 (#848)
Summary: Pull Request resolved: #848 This is blocking an open source release. Note: there's a test failure still in OSS in one of these tests. We do need to fix that, but unlike using illegal-for-python-3.9 syntax it doesn't make Pyre unreleasable. Reviewed By: connernilsen Differential Revision: D57218457 fbshipit-source-id: 4691f2ef8be0f88effb9ce0a490d82e8fda2fa35
- Loading branch information
1 parent
05ba810
commit 267a8ce
Showing
3 changed files
with
4 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ | |
|
||
# pyre-strict | ||
|
||
from __future__ import annotations | ||
|
||
import argparse | ||
import json | ||
import logging | ||
|
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