Skip to content

Yuliya_Brechka_juliabrechka@gmail.com#21

Open
brechka wants to merge 13 commits into
epam-python-courses-7-bsu:masterfrom
brechka:master
Open

Yuliya_Brechka_juliabrechka@gmail.com#21
brechka wants to merge 13 commits into
epam-python-courses-7-bsu:masterfrom
brechka:master

Conversation

@brechka

@brechka brechka commented Nov 14, 2019

Copy link
Copy Markdown

Iteration 1 + Iteration 2

@brechka brechka changed the title juliabrechka@gmail.com - PLEASE REVIEW Yuliya_Brechka_juliabrechka@gmail.com - PLEASE REVIEW Nov 14, 2019
Comment thread final_task/rss_reader/cmd_line_parser.py Outdated
@HenadziStantchik

Copy link
Copy Markdown
Collaborator

.tar.gz file should not be checked in to GIT

Comment thread final_task/rss_reader/rss_exceptions.py
@HenadziStantchik

Copy link
Copy Markdown
Collaborator

I am getting ImportError while trying to launch your script without using setup tools. Did you test it?

Comment thread final_task/rss_reader/requirements.txt Outdated
@HenadziStantchik HenadziStantchik changed the title Yuliya_Brechka_juliabrechka@gmail.com - PLEASE REVIEW Yuliya_Brechka_juliabrechka@gmail.com Nov 14, 2019
Comment thread final_task/rss_reader/rss_parser.py Outdated
Comment thread final_task/rss_reader/rss_parser.py Outdated
Comment thread final_task/rss_reader/rss_parser.py Outdated
Comment thread final_task/rss_reader/rss_parser.py Outdated
@brechka brechka changed the title Yuliya_Brechka_juliabrechka@gmail.com Yuliya_Brechka_juliabrechka@gmail.com - PLEASE REVIEW Nov 20, 2019
@HenadziStantchik

Copy link
Copy Markdown
Collaborator

Here is some feedback on your app work:

  1. Links to images are sometimes missing:

brechka

  1. Please add a documentation for your app

  2. When trying to get app version:

brechka

  1. Please fill your requirements.txt file

@HenadziStantchik HenadziStantchik changed the title Yuliya_Brechka_juliabrechka@gmail.com - PLEASE REVIEW Yuliya_Brechka_juliabrechka@gmail.com Nov 21, 2019
@brechka brechka changed the title Yuliya_Brechka_juliabrechka@gmail.com Yuliya_Brechka_juliabrechka@gmail.com - PLEASE REVIEW Nov 23, 2019
Comment thread final_task/rss_reader/validator.py Outdated
"""
url = cmd_args.source
response = requests.get(url)
if response.status_code != 200:

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 a method .raise_for_status() in response object. You could is it

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

why this option is not suitable?

@dzhigailo dzhigailo changed the title Yuliya_Brechka_juliabrechka@gmail.com - PLEASE REVIEW Yuliya_Brechka_juliabrechka@gmail.com Nov 23, 2019
Comment thread final_task/MANIFEST.in
Comment on lines +1 to +3
recursive-include rss_reader/templates *
recursive-include rss_reader/tests/files *
recursive-include rss_reader/fonts *

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 will not work correctly on Windows as it has different path separators

@HenadziStantchik

Copy link
Copy Markdown
Collaborator

Here is some feedback on your app:
Iteration 1:
Everything works fine.
Iteration 2:
Installs fine, but the installed app does not work. (Tried both on my machine and on clean machine)
Iteration 3:
Everything works fine. Good job implementing search by rss source.
Iteration 4:
Pdf conversion does not work:
image

HTML-converted file does not contain images. Also for some reason news feed is printed to stdout too when converting to HTML.

Iteration 5:
Colorizing works fine.

There are some redundant files checked in to repository.
__init__.py usually should be added to the tests folder so that you can run tests using python -m unittest discover.

Documentation is decently written.
Tests are ok, coverage percentage is sufficient.
The code itself is readable, well structured and absolutely corresponds to the PEP8 guiedelines.
Almost every method has docstring which is a plus.

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