[`flake8-simplify`] Suppress `SIM105` for `except*` before Python 3.12 (#23869)
Hi,
Fix [23798](https://github.com/astral-sh/ruff/issues/23798) :
[SIM105](https://docs.astral.sh/ruff/rules/suppressible-exception/)
should not be active before py 3.12.
The solution is simple: If the target version is lower or equal than
3.11, the check is passed.
There might be a caveat: I am not sure the target version is always 100%
valid ? But it seemed the most accurate thing to use here.
Some tests were added, checking in 3.12 and 3.11 to check that the test
suppression happen in 3.11 but not in 3.12.
I can also add a mention in the docs ? If so, should I do this directly
here ?
---------
Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>