File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
python-checks/src/main/resources/org/sonar/l10n/py/rules/python Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
< p > Python 3.11 introduced < code > except*</ code > and < code > ExceptionGroup</ code > . While it’s possible to catch the ExceptionGroup and BaseExceptionGroup
2
- types with < code > except`</ code > , a Runtime error will be raised when this is done with < code > except*</ code > .</ p >
2
+ types with < code > except`</ code > , a Runtime error will be raised when this is done with < code > except*</ code > . See PEP 654 : < a
3
+ href ="https://peps.python.org/pep-0654/#forbidden-combinations "> PEP-654</ a > </ p >
3
4
< h2 > Noncompliant Code Example</ h2 >
4
5
< pre >
5
6
try:
Original file line number Diff line number Diff line change 3
3
"languages" : [
4
4
" PY"
5
5
],
6
- "latest-update" : " 2022-12-08T09:58:09.170573Z " ,
6
+ "latest-update" : " 2022-12-08T15:46:58.221207200Z " ,
7
7
"options" : {
8
8
"no-language-in-filenames" : true ,
9
9
"preserve-filenames" : true
You can’t perform that action at this time.
0 commit comments