Skip to content

Kirill_Stepanishin_kirill.stpn.by@gmail.com#23

Open
kirill-stp wants to merge 18 commits into
epam-python-courses-7-bsu:masterfrom
kirill-stp:master
Open

Kirill_Stepanishin_kirill.stpn.by@gmail.com#23
kirill-stp wants to merge 18 commits into
epam-python-courses-7-bsu:masterfrom
kirill-stp:master

Conversation

@kirill-stp

Copy link
Copy Markdown

iteration 1 without tests

@kirill-stp kirill-stp changed the title Kirill_Stepanishin_kirill.stpn.by@gmail.com - PLEASE REVIEW Kirill_Stepanishin_kirill.stpn.by@gmail.com Nov 16, 2019
@kirill-stp

Copy link
Copy Markdown
Author

fixed some bugs, iteration 1 ready

@kirill-stp kirill-stp changed the title Kirill_Stepanishin_kirill.stpn.by@gmail.com Kirill_Stepanishin_kirill.stpn.by@gmail.com - PLEASE REVIEW Nov 16, 2019
@HenadziStantchik

Copy link
Copy Markdown
Collaborator

Please fix your commit messages. We specifically stated in the FinalTask.md that commit messages should not look like that.

Comment thread final_task/rss_reader/args_creater.py Outdated
Comment thread final_task/rss_reader/article.py Outdated
Comment thread final_task/rss_reader/article.py Outdated
Comment thread final_task/rss_reader/article.py Outdated
Comment thread final_task/rss_reader/article.py Outdated
Comment thread final_task/rss_reader/rss_reader.py Outdated
Comment thread final_task/rss_reader/rss_reader.py Outdated
Comment thread final_task/rss_reader/string_operations.py Outdated
Comment thread final_task/rss_reader/string_operations.py Outdated
Comment thread final_task/rss_reader/feed.py Outdated
@HenadziStantchik

Copy link
Copy Markdown
Collaborator

I did not discover any issues with Iteration 1 functionality. Resolve commented issues and proceed to Iteration 2

@HenadziStantchik HenadziStantchik changed the title Kirill_Stepanishin_kirill.stpn.by@gmail.com - PLEASE REVIEW Kirill_Stepanishin_kirill.stpn.by@gmail.com Nov 17, 2019
@kirill-stp kirill-stp changed the title Kirill_Stepanishin_kirill.stpn.by@gmail.com Kirill_Stepanishin_kirill.stpn.by@gmail.com - PLEASE REVIEW Nov 19, 2019
Comment thread final_task/rss_reader/article.py Outdated
Comment thread final_task/rss_reader/feed.py Outdated
Comment thread final_task/rss_reader/feed.py Outdated
Comment thread final_task/rss_reader/string_operations.py Outdated
Comment thread final_task/rss_reader/article.py Outdated
@HenadziStantchik

Copy link
Copy Markdown
Collaborator

3rd iteration does not work (Ubuntu OS):

stepanishin

Comment thread final_task/rss_reader/args_creater.py Outdated
Comment thread final_task/rss_reader/feed.py Outdated
Comment thread final_task/rss_reader/rss_reader.py
Comment thread final_task/rss_reader/string_operations.py Outdated
@HenadziStantchik

Copy link
Copy Markdown
Collaborator

Also .tar.gz files should not be checked in to GIT

@HenadziStantchik

Copy link
Copy Markdown
Collaborator

Please write a documentation to your app in final_task/README.md. Briefly explain how does your app work, how to install and launch it using setuptools and also describe the way you storing news in your local cache

@HenadziStantchik HenadziStantchik changed the title Kirill_Stepanishin_kirill.stpn.by@gmail.com - PLEASE REVIEW Kirill_Stepanishin_kirill.stpn.by@gmail.com Nov 20, 2019
@@ -0,0 +1,87 @@
from string_operations import *

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is better to not use wildcard import at all.

description_ = extract_image_info_from_summary(parsed.summary)
self.media_description = make_string_readable(description_)

def print_readable_article(self, is_colored):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function is large which lowers readability. It is better to split it somehow into the smaller ones.

@@ -0,0 +1,203 @@
import logging
import requests as r

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is better to avoid one-letter variable names. (This is a variable too)

Comment thread final_task/setup.py
Comment on lines +17 to +21
<<<<<<< HEAD
install_requires=['feedparser','requests','dominate','fpdf','termcolor']
=======
install_requires=['feedparser','requests','dominate','fpdf']
>>>>>>> ee7ddc5f3897764b3da12847a678a2487a76a762

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is unresolved conflict here

@HenadziStantchik

Copy link
Copy Markdown
Collaborator

Here is feedback on your application:
Iteration 1:
Everything works fine.
Iteration 2:
Does not install
Iteration 3:
Everything works fine.
Iteration 4:
User should be able to specify the path where converted file should be saved.
Other than that everything works fine.
Iteration 5:
Everything works fine

Tests are almost nonexistent. Coverage percentage is not enough.
The code is readable overall, but there are some large methods/functions that lower readability. Codestyle somewhat corresponds to the PEP8 guidelines. The commit messages do not correspond to the recommended commit message style. There are unresolved conflicts in the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants