neelxie/flask_database

View on GitHub
Merge pull request #2 from neelxie/dependabot/pip/urllib3-1.24.2 #91
Sekidde Derrick authored ba2e9245
complete00:00:12
Your first build completed successfully!

Congratulations

Your first build completed successfully!

See the Results

1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No checked in config: nothing to validate.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-10-16T02:18:01.535197 #1]  INFO -- : Skipping file ./app/controller/user_controller.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 72
    'message': f'{user_name} successfully registered'
                                                    ^
SyntaxError: invalid syntax


I, [2024-10-16T02:18:01.622398 #1]  INFO -- : Skipping file ./app/db/ireporter_db.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 52
    query = f"INSERT INTO users ( first_name, last_name, other_name, phone_number, email, username, password, is_admin, user_id, registered) VALUES ('{first_name}', '{last_name}', '{other_name}', '{phone_number}', '{email}', '{username}', '{password}', '{is_admin}', '{user_id}', '{registered}');"
                                                                                                                                                                                                                                                                                                        ^
SyntaxError: invalid syntax