Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Web Page Code (Python code, Templates, CSS and other associated files) Word or PDF file containing your test and pylint resultsPython Applications for this lab:This lab consists of two parts.1. This...

1 answer below »
Web Page Code (Python code, Templates, CSS and other associated files) Word or PDF file containing your test and pylint resultsPython Applications for this lab:This lab consists of two parts.1. This exercise uses your programming environment to generate a simple Web site using Python flask. The site should be unique, include at least 3 routes (e.g. 3 pages one can navigate), each route should render the HTML pages by using the render_template() functionality. A style sheet should be included that is used by all Web pages. Proper organization should take place of the web site including the location of templates and static pages. Keep in the basic HTML form for a function web page includes the following components:2.Document your testing results using your programming environment. You should also include and discuss your pylint results for the application. The test document should include a test table that includes the input values, the expected results and the actual results. A screen capture should be included that shows the actual test results of running each test case found in the test table. Be sure to include multiple test cases to provide full coverage for all code and for each function you develop and test.
Answered 11 days After Feb 19, 2022

Solution

Sathishkumar answered on Feb 20 2022
96 Votes
Pylint Results:
Report of main.py:
************* Module main
main.py:119:0: C0301: Line too long (134/100) (line-too-long)
main.py:167:0: C0305: Trailing newlines (trailing-newlines)
main.py:1:0: C0114: Missing module docstring (missing-module-docstring)
main.py:12:0: W0401: Wildcard import definition (wildcard-import)
main.py:29:0: C0116: Missing function or method docstring (missing-function-docstring)
main.py:37:0: C0116: Missing function or method docstring (missing-function-docstring)
main.py:37:0: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
main.py:54:0: C0116: Missing function or method docstring (missing-function-docstring)
main.py:61:0: C0116: Missing function or method docstring (missing-function-docstring)
main.py:64:8: W0621: Redefining name 'galleries' from outer scope (line 61)...
SOLUTION.PDF

Answer To This Question Is Available To Download

Submit New Assignment

Copy and Paste Your Assignment Here