-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Huge tooling update #195
Conversation
f213
commented
Jan 7, 2024
•
edited
Loading
edited
- 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
poetry run ruff check src | |
poetry run ruff format --check src | |
poetry run ruff check src |
— ruff check
не то же самое, что ruff format --check
;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ещё надо папку tests
включить во все эти команды)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А тестов на проекте больше нет, я их выпилил чтобы не морочиться с асинхронным интерфейсом :)