summaryrefslogtreecommitdiff
path: root/checkers/stdlib.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2014-08-19 17:48:03 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2014-08-19 17:48:03 +0300
commit13fa29e012876b99816ba2b3de44032445ba25e8 (patch)
treef47e96ea992ea972606bbd49d3cf45602f4650eb /checkers/stdlib.py
parentc3529bb59c41c7a9a9992e03a6b6db1b53a64c65 (diff)
downloadpylint-git-13fa29e012876b99816ba2b3de44032445ba25e8.tar.gz
Set the maxversion to 3.5 for boolean-datetime.
Diffstat (limited to 'checkers/stdlib.py')
-rw-r--r--checkers/stdlib.py3
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')