-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from m-aciek/3.7-support
Add support for Python 3.7+
- Loading branch information
Showing
5 changed files
with
201 additions
and
229 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
tryit.py:21: error: Unsupported operand types for < ("NaiveDateTime" and "AwareDateTime") [operator] | ||
tryit.py:21: note: Following member(s) of "AwareDateTime" have conflicts: | ||
tryit.py:21: note: Expected: | ||
tryit.py:21: note: def timetz(self) -> Time[None] | ||
tryit.py:21: note: Got: | ||
tryit.py:21: note: def timetz(self) -> Time[tzinfo] | ||
tryit.py:21: note: tzinfo: expected "None", got "tzinfo" | ||
tryit.py:23: error: Incompatible types in assignment (expression has type "AwareDateTime", variable has type "NaiveDateTime") [assignment] | ||
tryit.py:23: note: Following member(s) of "AwareDateTime" have conflicts: | ||
tryit.py:23: note: Expected: | ||
tryit.py:23: note: def timetz(self) -> Time[None] | ||
tryit.py:23: note: Got: | ||
tryit.py:23: note: def timetz(self) -> Time[tzinfo] | ||
tryit.py:23: note: tzinfo: expected "None", got "tzinfo" | ||
tryit.py:26: error: Incompatible types in assignment (expression has type "NaiveDateTime", variable has type "AwareDateTime") [assignment] | ||
tryit.py:26: note: Following member(s) of "NaiveDateTime" have conflicts: | ||
tryit.py:26: note: Expected: | ||
tryit.py:26: note: def timetz(self) -> Time[tzinfo] | ||
tryit.py:26: note: Got: | ||
tryit.py:26: note: def timetz(self) -> Time[None] | ||
tryit.py:26: note: tzinfo: expected "tzinfo", got "None" | ||
tryit.py:34: error: Incompatible types in assignment (expression has type "NaiveDateTime", variable has type "Date") [assignment] | ||
tryit.py:35: error: Incompatible types in assignment (expression has type "AwareDateTime", variable has type "Date") [assignment] | ||
tryit.py:48: error: "tzinfo" has no attribute "key" [attr-defined] | ||
tryit.py:53: error: Incompatible types in assignment (expression has type "DateTime[timezone]", variable has type "NaiveDateTime") [assignment] | ||
tryit.py:53: note: Following member(s) of "DateTime[timezone]" have conflicts: | ||
tryit.py:53: note: Expected: | ||
tryit.py:53: note: def timetz(self) -> Time[None] | ||
tryit.py:53: note: Got: | ||
tryit.py:53: note: def timetz(self) -> Time[timezone] | ||
tryit.py:53: note: tzinfo: expected "None", got "timezone" | ||
Found 7 errors in 1 file (checked 1 source file) |
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.