Skip to content

py-version should use maxversion and minversion #7569

Closed
@clavedeluna

Description

@clavedeluna

Current problem

According to pylint

:boolean-datetime (W1502): *Using datetime.time in a boolean context.*
  Using datetime.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 https://bugs.python.org/issue13936 for reference. This message can't be
  emitted when using Python >= 3.5.

Since only py3.7+ versions are supported, I think we can safely delete this checker.

Desired solution

Removal of all boolean-datetime checker code.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Minor 💅Polishing pylint is always niceNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationpy-version

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions