Message350413
I threw together a flake8 plugin which checks for these usage patterns:
https://github.com/asottile/flake8-2020
| Code | Description |
|--------|-------------------------------------------------|
| YTT101 | `sys.version[:...]` referenced (python3.10) |
| YTT102 | `sys.version[2]` referenced (python3.10) |
| YTT201 | `sys.version_info[0] == 3` referenced (python4) |
| YTT202 | `six.PY3` referenced (python4) |
| YTT301 | `sys.version[0]` referenced (python10) | |
|
Date |
User |
Action |
Args |
2019-08-25 00:14:20 | Anthony Sottile | set | recipients:
+ Anthony Sottile, rhettinger, ncoghlan, scoder, ezio.melotti, serhiy.storchaka, josh.r, p-ganssle, Philip Dye |
2019-08-25 00:14:20 | Anthony Sottile | set | messageid: <1566692060.41.0.138808115806.issue37636@roundup.psfhosted.org> |
2019-08-25 00:14:20 | Anthony Sottile | link | issue37636 messages |
2019-08-25 00:14:20 | Anthony Sottile | create | |
|