Продолжаем готовить релиз
https://github.com/typeddjango/django-stubs/issues/2630
#typing #django_stubs
5.2.0
🎉https://github.com/typeddjango/django-stubs/issues/2630
#typing #django_stubs
GitHub
[5.2] Fix `django.template.autoreload` module · Issue #2630 · typeddjango/django-stubs
stubtest report this module as missing: error: django.template.autoreload failed to find stubs Stub: MISSING Runtime: <module 'django.template.autoreload' from '/opt/hostedtoolcache/...
https://github.com/wemake-services/django-test-migrations/issues/507
#django_test_migrations #packaging
#django_test_migrations #packaging
GitHub
Repository not shown on PyPI · Issue #507 · wemake-services/django-test-migrations
I see that the repo for this package is defined in pyproject.toml but unfortunately it does not appear on PyPI. Not sure why that is but would be great if there was a reference somewhere on the PyP...
https://github.com/wemake-services/wemake-python-styleguide/issues/3404
#ast #wemake_python_styleguide
#ast #wemake_python_styleguide
GitHub
Forbid comments in `f` and `t` string · Issue #3404 · wemake-services/wemake-python-styleguide
This code should raise a violation: >>> x = f'{ 1 # comment ... }' Because comments make f string implicilty multiline. And comments must not be present in strings. This is not right.
https://github.com/python/cpython/issues/133403#issuecomment-2849451826
Добавить
#cpython #typing
Добавить
Tools/build/verify_ensurepip_wheels.py
в Tools/build/mypy.ini
#cpython #typing
GitHub
Add typing to more build tools · Issue #133403 · python/cpython
Feature or enhancement Right now we support typing in several build tools: cpython/Tools/build/mypy.ini Lines 2 to 4 in 6ce60f1 files = Tools/build/compute-changes.py, Tools/build/generate_sbom.py ...
https://github.com/ag2ai/faststream/issues/2180
Очень простой Issue на расширение документации об использовании RPC в FastStream. Нужно добавить примеры использования
#documentation #faststream
Очень простой Issue на расширение документации об использовании RPC в FastStream. Нужно добавить примеры использования
Response
классов и того, как должен выглядить subscriber, способный ответить на сообщение#documentation #faststream
GitHub
docs: improve RPC section · Issue #2180 · ag2ai/faststream
Improve the RPC (and other brokers as well) documentation page – we should add information about how should subscriber looks like to response on messages. Also, we should add information about Repo...
https://github.com/python/cpython/issues/133604
Простое issue, нужно удалить из кодовой базы
#cpython #stdlib
Простое issue, нужно удалить из кодовой базы
platform.java_ver
+ platform._java_getprop
а так же тесты связанные с ними.#cpython #stdlib
Исправить стабы для
https://github.com/typeddjango/django-stubs/issues/2672
#django_stubs #typing
django.core.management
в django@5.2https://github.com/typeddjango/django-stubs/issues/2672
#django_stubs #typing
GitHub
Fix `django.core.management` for 5.2 · Issue #2672 · typeddjango/django-stubs
These entries needs to be fixed: django-stubs/scripts/stubtest/allowlist_todo_django52.txt Lines 51 to 53 in 828ead6 django.core.management.commands.shell.Command.get_auto_imports django.core.manag...
https://github.com/wemake-services/wemake-python-styleguide/issues/3413
#wemake_python_styleguide #ast
#wemake_python_styleguide #ast
GitHub
WPS212 counts return-statements from inner definitions · Issue #3413 · wemake-services/wemake-python-styleguide
What's wrong def foobar() -> Any: def inner_func(x: Any) -> Any: return x class Foobar: def __init__(self: Self): self.x = 1 def get_x(self: Self) -> int: return self.x return inner_fu...
https://github.com/python/typeshed/blob/a4e5874d290562a8e31d745257505bf7e964a26f/stdlib/%40tests/stubtest_allowlists/py314.txt#L76-L77
Добавить новые типы для модуля
Задачи нет, можно просто присылать PR :)
#typeshed #typing
Добавить новые типы для модуля
fnmatch
в python3.14Задачи нет, можно просто присылать PR :)
#typeshed #typing
GitHub
typeshed/stdlib/@tests/stubtest_allowlists/py314.txt at a4e5874d290562a8e31d745257505bf7e964a26f · python/typeshed
Collection of library stubs for Python, with static types - python/typeshed
https://github.com/python/cpython/issues/133956
Интересная задача про интроспекцию
#cpython #typing
Интересная задача про интроспекцию
ClassVar
в dataclasses
#cpython #typing
GitHub
`dataclasses`: Synthetic `__init__` method on dataclass has broken `ClassVar` annotation under some conditions. · Issue #133956…
Bug report Bug description: When using automatically-stringified annotations (from __future__ import annotations), typing_extensions.ClassVar is not treated the same as typing.ClassVar even though ...
https://github.com/ag2ai/faststream/issues/2222
Юбилейное Issue для особо отчаяных. Интересная задача на тему того, как превратить AsyncAPI рисовалку в полноценный Swagger UI с возможностью отправлять тестовые сообщения через FastStream
Задача простая, но объемная + достаточно неопределенная + нужно будет писать как на TypeScript, так и на Python. Приветствуется высокий уровень агентности. От меня – свобода в путях реализации.
В общем, без особой надежды оставлю это тут – вдруг энтузиасты найдутся😅
#FastStream
Юбилейное Issue для особо отчаяных. Интересная задача на тему того, как превратить AsyncAPI рисовалку в полноценный Swagger UI с возможностью отправлять тестовые сообщения через FastStream
Задача простая, но объемная + достаточно неопределенная + нужно будет писать как на TypeScript, так и на Python. Приветствуется высокий уровень агентности. От меня – свобода в путях реализации.
В общем, без особой надежды оставлю это тут – вдруг энтузиасты найдутся😅
#FastStream
GitHub
feature: AsyncAPI HTML "Try it out" form · Issue #2222 · ag2ai/faststream
It will be great if our HTML documentation (faststream docs serve main:app) will be able to try application' subscribers right from the web. To reach that, we should make the following: fork / ...
https://github.com/ag2ai/faststream/issues/2091
То самое вайб-код Issue. Кодовая база уже готова, но нужно поресечить, как в итоге HTTP ручки должны выглядеть в спецификации – и написать 5-10 строчек кода + тестик на это
Вся референсная информация есть в Issue
#FastStream
То самое вайб-код Issue. Кодовая база уже готова, но нужно поресечить, как в итоге HTTP ручки должны выглядеть в спецификации – и написать 5-10 строчек кода + тестик на это
Вся референсная информация есть в Issue
#FastStream
GitHub
Feature: AsyncAPI HTTP support · Issue #2091 · ag2ai/faststream
Using AsgiFastStream object we can register some HTTP routes our application serve. We should draw such routes in AsyncAPI specification as well. This feature should be togglable for sure in the ba...
https://github.com/astral-sh/ruff/issues/18320
попробуем задачку на rust'е ради прикола? простое правило для
#rust #ruff #ast
попробуем задачку на rust'е ради прикола? простое правило для
ruff
!#rust #ruff #ast
GitHub
Warn against `metaclass=type` · Issue #18320 · astral-sh/ruff
Summary type is the default metaclass and adding metaclass=type is usually redundant. Example in python/typeshed#14150. This is similar to https://docs.astral.sh/ruff/rules/useless-object-inheritan...