---
source: crates/ruff/src/rules/flake8_2020/mod.rs
---
YTT103.py:4:1: YTT103 `sys.version` compared to string (python3.10), use `sys.version_info`
  |
4 | from sys import version
5 | 
6 | version < "3.5"
  | ^^^^^^^ YTT103
7 | sys.version < "3.5"
8 | sys.version <= "3.5"
  |

YTT103.py:5:1: YTT103 `sys.version` compared to string (python3.10), use `sys.version_info`
  |
5 | version < "3.5"
6 | sys.version < "3.5"
  | ^^^^^^^^^^^ YTT103
7 | sys.version <= "3.5"
8 | sys.version > "3.5"
  |

YTT103.py:6:1: YTT103 `sys.version` compared to string (python3.10), use `sys.version_info`
   |
 6 | version < "3.5"
 7 | sys.version < "3.5"
 8 | sys.version <= "3.5"
   | ^^^^^^^^^^^ YTT103
 9 | sys.version > "3.5"
10 | sys.version >= "3.5"
   |

YTT103.py:7:1: YTT103 `sys.version` compared to string (python3.10), use `sys.version_info`
   |
 7 | sys.version < "3.5"
 8 | sys.version <= "3.5"
 9 | sys.version > "3.5"
   | ^^^^^^^^^^^ YTT103
10 | sys.version >= "3.5"
   |

YTT103.py:8:1: YTT103 `sys.version` compared to string (python3.10), use `sys.version_info`
   |
 8 | sys.version <= "3.5"
 9 | sys.version > "3.5"
10 | sys.version >= "3.5"
   | ^^^^^^^^^^^ YTT103
   |


