---
source: crates/ruff_linter/src/rules/ruff/mod.rs
---
RUF048.py:4:7: RUF048 `__version__` may contain non-integral-like elements
  |
4 | tuple(map(int, __version__.split(".")))
  |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RUF048
5 | list(map(int, __version__.split(".")))
  |

RUF048.py:5:6: RUF048 `__version__` may contain non-integral-like elements
  |
4 | tuple(map(int, __version__.split(".")))
5 | list(map(int, __version__.split(".")))
  |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RUF048
6 | 
7 | # `sep` passed as keyword argument
  |

RUF048.py:8:13: RUF048 `__version__` may contain non-integral-like elements
  |
7 | # `sep` passed as keyword argument
8 | for part in map(int, __version__.split(sep=".")):
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RUF048
9 |     print(part)
  |
