asottile-archive/flake8-2020
flake8 plugin which checks for misuse of `sys.version` or `sys.version_info`
PythonMIT
Issues
- 2
Add check for float(sys.version_info.major)
#52 opened by MarcoGorelli - 3
Add check for platform.python_version_tuple
#27 opened by domdfcoding - 4
Versioning is not following SemVer
#105 opened by okainov - 1
Check for platform.python_version[:3] (python3.10)
#31 opened by tucked - 3
Treat `PY3` just as `six.PY3`
#23 opened by pquentin - 0
False positive with version slice
#3 opened by asottile - 2
- 0
Report a YTT30X code for `sys.version < '3'` (and other 1-character string comparisons)
#9 opened by asottile - 1
Bug in test?
#10 opened by hugovk - 8
- 1
Small optimisation of YTT202
#2 opened by hugovk