Skip to content

Mlynarchik Artyom - #40

Open
Archeex wants to merge 36 commits into
introduction-to-python-bsuir-2019:masterfrom
Archeex:final_task
Open

Mlynarchik Artyom#40
Archeex wants to merge 36 commits into
introduction-to-python-bsuir-2019:masterfrom
Archeex:final_task

Conversation

@Archeex

@ArcheexArcheex commented Nov 10, 2019

Copy link
Copy Markdown

For install: pip install . -r requirements.txt
Small imperfection: file with font should be locate in directory from which launch module.
Codestyle checked with pycodestyle.
Module date_validation is redundant, i know :)

Unfortunately I didnt have time to fix saving 'JPG' images to PDF-file (only 'PNG' working, because i choose bad module).
5/6 iterations completed.

@AlexeiBuzumaAlexeiBuzuma added the [Deadline] Iteration 1-2 This is a marker for first and second iterations deadline. label Nov 17, 2019
Comment threadsetup.py
Comment threadrss_reader/json_format.py Outdated
Comment threadrss_reader/json_format.py Outdated
Comment threadrss_reader/articles_cache.py Outdated
@ArcheexArcheex changed the title [WIP] Mlynarchik ArtyomMlynarchik ArtyomDec 1, 2019
@AlexeiBuzumaAlexeiBuzuma removed Hard Deadline [Deadline] Iteration 1-2 This is a marker for first and second iterations deadline. labels Dec 12, 2019
@AlexeiBuzuma

Copy link
Copy Markdown
Collaborator

Моменты, которые можно улучшить:

  1. HTML собирается "руками". На сегодняшний день есть большое количество уже готовых библиотек, которые помогут сделать это удобнее, красивее и безопаснее.
  2. Не совсем правильное использование метода "str": https://docs.python.org/3/reference/datamodel.html#object.__str__
  3. слишком много вызовов функций exit(). В приложении такого размера можно обойтись одной точкой выхода из программы.
  4. Тестов могло быть больше :)
  5. Зачастую функцию названы одним словом, например format и cahce. Я бы советовал давать более подробные имена аттрибутам.

Sign up for freeto 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.

2 participants

@Archeex@AlexeiBuzuma