Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 25, 2022. It is now read-only.

pull request for Issue: https://github.com/chavarera/python-mini-projects/issues/82 #87

Merged
chavarera merged 4 commits into Python-World:master from ShivSt:master
Jul 18, 2020

Conversation

Copy link
Contributor

@ShivSt ShivSt commented Jul 17, 2020

Script to fetch IMDb rating

Script to fetch IMDb rating
Copy link
Member

@ShivSt code is working

Some suggestion

  1. Follow PEP8 guidelines

use flake8

flake8 find_IMDb_rating.py
find_IMDb_rating.py:3:1: F401 'lxml' imported but unused
find_IMDb_rating.py:5:1: E265 block comment should start with '# '
find_IMDb_rating.py:6:6: E225 missing whitespace around operator
find_IMDb_rating.py:7:8: E225 missing whitespace around operator
find_IMDb_rating.py:8:6: E225 missing whitespace around operator
find_IMDb_rating.py:9:4: E225 missing whitespace around operator
find_IMDb_rating.py:11:2: E225 missing whitespace around operator
find_IMDb_rating.py:11:27: E262 inline comment should start with '# '
find_IMDb_rating.py:14:13: E225 missing whitespace around operator
find_IMDb_rating.py:14:25: W291 trailing whitespace
find_IMDb_rating.py:15:9: E225 missing whitespace around operator
find_IMDb_rating.py:16:15: E225 missing whitespace around operator
find_IMDb_rating.py:17:1: W293 blank line contains whitespace
find_IMDb_rating.py:19:13: E225 missing whitespace around operator
find_IMDb_rating.py:20:13: E225 missing whitespace around operator
find_IMDb_rating.py:20:80: E501 line too long (94 > 79 characters)
find_IMDb_rating.py:23:19: E225 missing whitespace around operator
find_IMDb_rating.py:23:80: E501 line too long (95 > 79 characters)
find_IMDb_rating.py:25:1: E722 do not use bare except'
ShivSt reacted with thumbs up emoji

Copy link
Contributor Author

ShivSt commented Jul 18, 2020

sure.. will streamline the code as per the guidelines.

Copy link
Contributor Author

ShivSt commented Jul 18, 2020

Hi Ravi,
check now I have updated the script confirmed with flake8.
You can close the issue now

ShivSt reacted with laugh emoji

@chavarera chavarera merged commit 283a89a into Python-World:master Jul 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /