Находки в опенсорсе: Python
Привет! Необычный пост. Мои друзья из GitVerse запустили конкурс статей про: - опыт создателей open-source-проектов: мейнтейнеров, ревьюеров и коммитеров; - рассказы о поддержке и сопровождении open-source-проектов; - истории о том, как своими крутыми контрибьютами…
VK Видео
Код свободы: путь open source в 2025 году
10 июня мы подведём итоги сезона Open Source на Хабре, а также поговорим о том, что действительно работает в проектах, о реальных сложностях, успехах и будущем Open Source. Что обсудим с экспертами из GitVerse и СберТеха, а также авторами популярных опенсорс…
https://github.com/astral-sh/ty/issues/636
Хотите немного rust? Надо в кодовой базе ty переименовать "unbound" в предупреждениях во что-то вроде "missing"
Хотите немного rust? Надо в кодовой базе ty переименовать "unbound" в предупреждениях во что-то вроде "missing"
GitHub
Confusing naming `unbound` for methods · Issue #636 · astral-sh/ty
Summary In python there are bound methods which is actually a function/classmethod bound to an object (<bound method A.foo of <class '__main__.A'>>). As on opposite, there are u...
https://github.com/wemake-services/wemake-python-styleguide/issues/3458
#python #wemake_python_styleguide #ast
#python #wemake_python_styleguide #ast
GitHub
Forbid "fat" finally · Issue #3458 · wemake-services/wemake-python-styleguide
Rule request Allow finally block to have simple content only. It can contain few lines of code, but it shouldn't contain untrivial logic, which can not be understand very quickly at code readin...
https://github.com/wemake-services/wemake-python-styleguide/issues/2340
#wemake_python_styleguide #ast
#wemake_python_styleguide #ast
GitHub
Detect leaking `for` loops in `ClassDef` and `Module` · Issue #2340 · wemake-services/wemake-python-styleguide
Right now we can have two problems: class Some(object): for x in [1, 2]: print(x) print(Some.x) # oups, will show you `2` and with modules: # some.py for x in [1, 2]: print(x) # __main__ import som...