summaryrefslogtreecommitdiff
path: root/checkers/stdlib.py
diff options
context:
space:
mode:
authorcpopa <devnull@localhost>2014-08-19 17:48:03 +0300
committercpopa <devnull@localhost>2014-08-19 17:48:03 +0300
commit89aeb11ab83422f28ab2f894599bffb28a33ae51 (patch)
treef478fd5d916395da23a9263dd922048a44922815 /checkers/stdlib.py
parentc2fe1d6254daee2821556cc0852de10fc5495304 (diff)
downloadpylint-89aeb11ab83422f28ab2f894599bffb28a33ae51.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 4188429..9a56434 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')