Skip to content

chore: fix ruff and mypy strict checks#39

Open
Flummy1 wants to merge 1 commit into
devfrom
chore/fix-ruff-mypy-strict
Open

chore: fix ruff and mypy strict checks#39
Flummy1 wants to merge 1 commit into
devfrom
chore/fix-ruff-mypy-strict

Conversation

@Flummy1

@Flummy1 Flummy1 commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Что изменено

  • Исправлены все ошибки ruff check.
  • Проект приведён к форматированию ruff format.
  • Исправлены ошибки mypy --strict без отключения strict-режима.
  • Уточнил типы при разборе JSON-ответов.
  • Исправил типизацию потока событий runner.
  • Убрал bare except в refund-методе.
  • Добавил .gitattributes, чтобы зафиксировать LF для текстовых файлов проекта

Проверки

  • uv run ruff check .
  • uv run ruff format --check .
  • uv run mypy funpaybotengine

Все проверки проходят.

Примечание

Тесты не запускались как успешный gate, потому что в репозитории нет директории tests; pytest -q завершается с no tests ran.

@Flummy1 Flummy1 requested a review from qvvonk as a code owner June 30, 2026 11:10
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.

1 participant