Skip to content

added comment check#88

Merged
Temmmmmo merged 5 commits intomainfrom
commentcheck
Feb 22, 2025
Merged

added comment check#88
Temmmmmo merged 5 commits intomainfrom
commentcheck

Conversation

@zipperman1
Copy link
Copy Markdown
Contributor

@zipperman1 zipperman1 commented Feb 8, 2025

Изменения

Добавил проверку коммента на длину и спец символы

Детали реализации

см. issue

Check-List

  • Вы проверили свой код перед отправкой запроса?
  • Вы написали тесты к реализованным функциям?
  • Вы не забыли применить форматирование black и isort для Back-End или Prettier для Front-End?

@zipperman1 zipperman1 linked an issue Feb 8, 2025 that may be closed by this pull request
@zipperman1 zipperman1 self-assigned this Feb 8, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 8, 2025

Code Coverage

Coverage Report
FileStmtsMissCoverMissing
rating_api
   __main__.py440%1–7
   exceptions.py40782%35–37, 48–50, 58
rating_api/models
   base.py55591%24–27, 76
   db.py73297%61, 74
rating_api/routes
   base.py26485%48–50, 52
   comment.py1062279%42, 46, 64, 82, 123–125, 146–155, 198, 208–213, 220, 244, 260
   exc_handlers.py29390%35, 42, 49
   lecturer.py841483%132–155, 171, 179, 197, 203
rating_api/schemas
   base.py12467%6–9
rating_api/utils
   logging_utils.py432542%21–42, 51, 58–64, 70–83
TOTAL5819085% 

Summary

Tests Skipped Failures Errors Time
44 0 💤 0 ❌ 0 🔥 10.636s ⏱️

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 9, 2025

💩 Code linting failed, use black and isort to fix it.

Comment thread rating_api/routes/comment.py Outdated
@zipperman1 zipperman1 requested a review from Zimovchik February 9, 2025 15:14
@zipperman1
Copy link
Copy Markdown
Contributor Author

я натыкал все символы которые смог набрать на клаве без нажатия alt

Copy link
Copy Markdown
Contributor

@Wudext Wudext left a comment

Choose a reason for hiding this comment

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

Я не хочу читать регулярки.

@Temmmmmo Temmmmmo merged commit 02650d2 into main Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ограничения на тексты комментариев

4 participants