diff options
| author | Claudiu Popa <pcmanticore@gmail.com> | 2014-08-19 17:48:03 +0300 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2014-08-19 17:48:03 +0300 |
| commit | 13fa29e012876b99816ba2b3de44032445ba25e8 (patch) | |
| tree | f47e96ea992ea972606bbd49d3cf45602f4650eb /checkers/stdlib.py | |
| parent | c3529bb59c41c7a9a9992e03a6b6db1b53a64c65 (diff) | |
| download | pylint-git-13fa29e012876b99816ba2b3de44032445ba25e8.tar.gz | |
Set the maxversion to 3.5 for boolean-datetime.
Diffstat (limited to 'checkers/stdlib.py')
| -rw-r--r-- | checkers/stdlib.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/checkers/stdlib.py b/checkers/stdlib.py index 4188429ce..9a5643437 100644 --- a/checkers/stdlib.py +++ b/checkers/stdlib.py @@ -46,7 +46,8 @@ class OpenModeChecker(BaseChecker): 'Using datetetime.time in a boolean context can hide ' 'subtle bugs when the time they represent matches ' 'midnight UTC. This behaviour was fixed in Python 3.5. ' - 'See http://bugs.python.org/issue13936 for reference.'), + 'See http://bugs.python.org/issue13936 for reference.', + {'maxversion': (3, 5)}), } @utils.check_messages('bad-open-mode') |
