************* Module api app/api/__init__.py:2:0: C0305: Trailing newlines (trailing-newlines) app/api/__init__.py:1:0: C0114: Missing module docstring (missing-module-docstring) ************* Module api.app app/api/app.py:55:48: C0303: Trailing whitespace (trailing-whitespace) app/api/app.py:68:0: C0303: Trailing whitespace (trailing-whitespace) app/api/app.py:72:0: C0303: Trailing whitespace (trailing-whitespace) app/api/app.py:89:0: C0303: Trailing whitespace (trailing-whitespace) app/api/app.py:110:0: C0303: Trailing whitespace (trailing-whitespace) app/api/app.py:134:0: W0311: Bad indentation. Found 16 spaces, expected 12 (bad-indentation) app/api/app.py:135:0: W0311: Bad indentation. Found 16 spaces, expected 12 (bad-indentation) app/api/app.py:159:30: C0303: Trailing whitespace (trailing-whitespace) app/api/app.py:1:0: C0114: Missing module docstring (missing-module-docstring) app/api/app.py:4:0: E0401: Unable to import 'flask_sqlalchemy' (import-error) app/api/app.py:6:0: E0401: Unable to import 'flask_migrate' (import-error) app/api/app.py:8:0: E0401: Unable to import 'flask_restful' (import-error) app/api/app.py:9:0: E0401: Unable to import 'flask_marshmallow' (import-error) app/api/app.py:11:0: E0401: Unable to import 'flask_cors' (import-error) app/api/app.py:13:0: E0401: Unable to import 'geojson' (import-error) app/api/app.py:21:0: E1101: Method 'logger' has no 'warning' member (no-member) app/api/app.py:22:23: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation) app/api/app.py:27:0: E1101: Method 'logger' has no 'warning' member (no-member) app/api/app.py:40:0: R0903: Too few public methods (0/2) (too-few-public-methods) app/api/app.py:59:0: C0115: Missing class docstring (missing-class-docstring) app/api/app.py:60:4: C0115: Missing class docstring (missing-class-docstring) app/api/app.py:60:4: R0903: Too few public methods (0/2) (too-few-public-methods) app/api/app.py:59:0: R0903: Too few public methods (0/2) (too-few-public-methods) app/api/app.py:64:0: C0115: Missing class docstring (missing-class-docstring) app/api/app.py:65:4: C0116: Missing function or method docstring (missing-function-docstring) app/api/app.py:69:4: C0116: Missing function or method docstring (missing-function-docstring) app/api/app.py:73:8: E1101: Method 'logger' has no 'warning' member (no-member) app/api/app.py:78:19: W0718: Catching too general exception Exception (broad-exception-caught) app/api/app.py:78:12: C0103: Variable name "e" doesn't conform to snake_case naming style (invalid-name) app/api/app.py:79:16: E1101: Method 'logger' has no 'warning' member (no-member) app/api/app.py:94:15: W0718: Catching too general exception Exception (broad-exception-caught) app/api/app.py:91:8: C0103: Variable name "e" doesn't conform to snake_case naming style (invalid-name) app/api/app.py:92:12: E1101: Method 'logger' has no 'warning' member (no-member) app/api/app.py:94:8: C0103: Variable name "e" doesn't conform to snake_case naming style (invalid-name) app/api/app.py:95:12: E1101: Method 'logger' has no 'warning' member (no-member) app/api/app.py:101:15: W0718: Catching too general exception Exception (broad-exception-caught) app/api/app.py:101:8: C0103: Variable name "e" doesn't conform to snake_case naming style (invalid-name) app/api/app.py:102:12: E1101: Method 'logger' has no 'warning' member (no-member) app/api/app.py:106:0: C0115: Missing class docstring (missing-class-docstring) app/api/app.py:107:4: C0116: Missing function or method docstring (missing-function-docstring) app/api/app.py:111:4: C0116: Missing function or method docstring (missing-function-docstring) app/api/app.py:127:0: C0116: Missing function or method docstring (missing-function-docstring) app/api/app.py:131:8: C0103: Variable name "p" doesn't conform to snake_case naming style (invalid-name) app/api/app.py:133:33: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) app/api/app.py:143:4: C0206: Consider iterating with .items() (consider-using-dict-items) app/api/app.py:143:15: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) app/api/app.py:144:8: C0103: Variable name "e" doesn't conform to snake_case naming style (invalid-name) app/api/app.py:15:0: C0411: standard import "from datetime import datetime" should be placed before "from flask import Flask, request, flash, url_for, redirect, render_template, jsonify" (wrong-import-order) app/api/app.py:3:0: W0611: Unused flash imported from flask (unused-import) app/api/app.py:3:0: W0611: Unused url_for imported from flask (unused-import) app/api/app.py:3:0: W0611: Unused redirect imported from flask (unused-import) app/api/app.py:3:0: W0611: Unused render_template imported from flask (unused-import) app/api/app.py:3:0: W0611: Unused jsonify imported from flask (unused-import) ----------------------------------- Your code has been rated at 0.00/10