diff options
author | cpopa <devnull@localhost> | 2014-08-19 17:48:03 +0300 |
---|---|---|
committer | cpopa <devnull@localhost> | 2014-08-19 17:48:03 +0300 |
commit | 89aeb11ab83422f28ab2f894599bffb28a33ae51 (patch) | |
tree | f478fd5d916395da23a9263dd922048a44922815 /checkers/stdlib.py | |
parent | c2fe1d6254daee2821556cc0852de10fc5495304 (diff) | |
download | pylint-89aeb11ab83422f28ab2f894599bffb28a33ae51.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 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') |