Skip to content

Elizaveta_Lapunova_liza.lapunova99@gmail.com#17

Open
ElizabethUniverse wants to merge 11 commits into
epam-python-courses-7-bsu:masterfrom
ElizabethUniverse:my-branch
Open

Elizaveta_Lapunova_liza.lapunova99@gmail.com#17
ElizabethUniverse wants to merge 11 commits into
epam-python-courses-7-bsu:masterfrom
ElizabethUniverse:my-branch

Conversation

@ElizabethUniverse

Copy link
Copy Markdown

No description provided.

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/ClassNews.py Outdated
Comment thread final_task/rss_reader/ClassNews.py Outdated
Comment thread final_task/rss_reader/ClassNews.py Outdated
Comment thread final_task/rss_reader/ClassNews.py Outdated
Comment thread final_task/rss_reader/ClassNews.py
Comment thread final_task/rss_reader/ClassNews.py Outdated
Comment thread final_task/rss_reader/ClassNews.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/rss_reader.py Outdated
@HenadziStantchik HenadziStantchik changed the title Elizaveta_Lapunova_liza.lapunova99@gmail.com - PLEASE REVIEW Elizaveta_Lapunova_liza.lapunova99@gmail.com Nov 10, 2019
@ElizabethUniverse

Copy link
Copy Markdown
Author

Thank you!

@ElizabethUniverse ElizabethUniverse changed the title Elizaveta_Lapunova_liza.lapunova99@gmail.com Elizaveta_Lapunova_liza.lapunova99@gmail.com-PLEASE REVIEW Nov 17, 2019
@HenadziStantchik

Copy link
Copy Markdown
Collaborator

tar.gz files should not be checked in to GIT

Comment thread final_task/rss_reader.egg-info/requires.txt Outdated
Comment thread final_task/rss_reader/ClassNews.py Outdated
Comment thread final_task/rss_reader/ClassNews.py Outdated
Comment thread final_task/rss_reader/ClassNews.py Outdated
Comment thread final_task/rss_reader/rss_reader.py Outdated
@HenadziStantchik

Copy link
Copy Markdown
Collaborator

If the RSS url is not specified, user would not be able to check app version. It should still work like this:
python rss_reader.py --version

Apart from that and some commented issues I did not discover any problems with app functionality

Comment thread final_task/setup.py Outdated
Comment thread final_task/rss_reader/rss_reader.py Outdated
Comment thread final_task/rss_reader/rss_reader.py Outdated
@ElizabethUniverse ElizabethUniverse changed the title Elizaveta_Lapunova_liza.lapunova99@gmail.com Elizaveta_Lapunova_liza.lapunova99@gmail.com-PLEASE REVIEW Nov 20, 2019
@HenadziStantchik

Copy link
Copy Markdown
Collaborator

Your app throws ModuleNotFound error if user tries to launch it without using setuptools.

Keep in mind that your app should work both with setuptools and without,

Comment thread final_task/rss_reader/requirements.txt Outdated
Comment thread final_task/setup.py Outdated
Comment thread final_task/rss_reader/CSVEntities.py Outdated
Comment thread final_task/rss_reader/ClassNews.py
Comment thread final_task/rss_reader/rss_reader.py Outdated
@HenadziStantchik HenadziStantchik changed the title Elizaveta_Lapunova_liza.lapunova99@gmail.com-PLEASE REVIEW Elizaveta_Lapunova_liza.lapunova99@gmail.com Nov 21, 2019
@ElizabethUniverse ElizabethUniverse changed the title Elizaveta_Lapunova_liza.lapunova99@gmail.com Elizaveta_Lapunova_liza.lapunova99@gmail.com-PLEASE REVIEW Nov 24, 2019
@HenadziStantchik

Copy link
Copy Markdown
Collaborator

Here is some feedback on your work:

  1. PDF conversion does not work:

k

Keep in mind that user should specify directory for a converted file.
Also check your raise clauses (second traceback)

Same for html conversion.

Also ensure that encoding in the converted files is ok.

Comment thread final_task/rss_reader/CSVEntities.py Outdated
Comment thread final_task/rss_reader/CSVEntities.py Outdated
Comment thread final_task/rss_reader/ClassNews.py Outdated
Comment thread final_task/rss_reader/datecsv.csv Outdated
Comment thread final_task/rss_reader/rss_reader.py Outdated
@HenadziStantchik HenadziStantchik changed the title Elizaveta_Lapunova_liza.lapunova99@gmail.com-PLEASE REVIEW Elizaveta_Lapunova_liza.lapunova99@gmail.com Nov 24, 2019
@ElizabethUniverse ElizabethUniverse changed the title Elizaveta_Lapunova_liza.lapunova99@gmail.com Elizaveta_Lapunova_liza.lapunova99@gmail.com-PLEASE REVIEW Nov 24, 2019
Comment thread final_task/rss_reader.egg-info/requires.txt Outdated
@HenadziStantchik

Copy link
Copy Markdown
Collaborator

Pdf conversion still does not work:

k

Please keep in mind that converted files should contain images:

the final text result should contain pictures and links, if they exist in the original article and if the format permits to store this type of data

Comment thread final_task/rss_reader/ToPDF.py Outdated
Comment thread final_task/rss_reader/ToPDF.py Outdated
@HenadziStantchik HenadziStantchik changed the title Elizaveta_Lapunova_liza.lapunova99@gmail.com-PLEASE REVIEW Elizaveta_Lapunova_liza.lapunova99@gmail.com Nov 24, 2019
Comment thread final_task/setup.py
package_data={
'': ['*.py', '*.txt']
},
python_requires='>=3.7.0',

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 should be 3.8

@@ -0,0 +1,4 @@
html2text
dateutil

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 package name is incorrect

@HenadziStantchik

Copy link
Copy Markdown
Collaborator

Here is feedback on your application:
Iteration 1:
--json does not work for Cyrillic symbols.
Iteration 2:
Installs, but does not work.
image
Iteration 3:
Everything works fine.
Iteration 4:
PDF conversion does not work if there are news containing Cyrillic letters

Tests are decent, coverage percentage is high enough.
The code is mostly readable, decently structured, mostly corresponds to the PEP8 guidelines.
Commit messages do not correspond to the recommended commit message style.
Using templates for Iteration 4 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