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

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

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