Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Huge tooling update #195

Merged
merged 16 commits into from
Jan 13, 2024
Merged

Huge tooling update #195

merged 16 commits into from
Jan 13, 2024

Conversation

f213
Copy link
Owner

@f213 f213 commented Jan 7, 2024

  • Poetry
  • Ruff
  • mypy
  • Migration to PTB > 20 (async)
  • Dropped the whole test suite, cuz i don't want to mess with asyncio: hope mypy will do its job well

poetry run toml-sort pyproject.toml

lint:
poetry run ruff check src
Copy link

@hnthh hnthh Jan 9, 2024

Choose a reason for hiding this comment

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

Suggested change
poetry run ruff check src
poetry run ruff format --check src
poetry run ruff check src

ruff check не то же самое, что ruff format --check ;)

Copy link

Choose a reason for hiding this comment

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

Ещё надо папку tests включить во все эти команды)

Copy link
Owner Author

Choose a reason for hiding this comment

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

А тестов на проекте больше нет, я их выпилил чтобы не морочиться с асинхронным интерфейсом :)

@f213 f213 marked this pull request as ready for review January 13, 2024 11:11
@f213 f213 merged commit 5e1ee4d into master Jan 13, 2024
2 checks passed
@delete-merged-branch delete-merged-branch bot deleted the big-deps-update branch January 13, 2024 11:12
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.

2 participants