-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update bracket_test.py | Check auf fehlende global.ini #651
Conversation
Wenn keine global.ini vorhanden ist, soll der Test übersprungen werden.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sieht in Ordnung aus, das mit den Key, kann ich mir nachher vlt anschauen
With --github the output is formatted for github actions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Abgesehen von zwei Fragen zu Kommentaren: LGTM
"ea_ui_player_count_bracket_right", | ||
"input_key_keyboard_leftParenthesis,P", | ||
"input_key_keyboard_rightParenthesis,P", | ||
"hurston_intro_desc", # Aufzählung |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wofür ist der Kommentar?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Damit wir wissen warum es ignoriert wird.
.github/tests/bracket_test.py
Outdated
|
||
|
||
def check_brackets(filename, excluded): | ||
""" | ||
:param filename: The name of the file to check for bracket matching. | ||
:param excluded: A list of line numbers to exclude from checking. | ||
:param excluded: A list of keys to exclude from checking. | ||
:return: None | ||
|
||
The check_brackets method reads the contents of the given file and checks for matching brackets. It skips the lines specified in the 'excluded' parameter. If any mismatched or unclosed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kommentar noch ggf. anpassen, dass es "lines skipped" deren keys ausgeschlossen sind.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@rjcncpt Wenn das gemerged ist kannst dann die fehlerhaften Zeilen anpassen, sodass es wieder alles passt ;-) Das passt ja nicht zu diesem PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Wenn keine global.ini vorhanden ist, soll der Test übersprungen werden.