(s)
| 1223 | |
| 1224 | @staticmethod |
| 1225 | def check_int(s): |
| 1226 | # check if string is an integer |
| 1227 | num_str = str(s) |
| 1228 | |
| 1229 | if num_str[0] in ('-', '+'): |
| 1230 | return num_str[1:].isdigit() |
| 1231 | return num_str.isdigit() |
| 1232 | |
| 1233 | |
| 1234 | class PassphrasePrompt(AutoSuggest, Completer, Lexer, Validator): |
no outgoing calls
no test coverage detected