Находки в опенсорсе: Python
1K subscribers
4 photos
147 links
Легкие задачки в опенсорсе из мира Python

Чат: @opensource_findings_chat
Download Telegram
🚀 New issue to wemake-services/django-modern-rest by @sobolevn
📝 Add `slotscheck` to the CI (#68)

There's an amazing tool called https://github.com/ariebovenberg/slotscheck
We use __slots__ in this project by default. So, we would love to test their defition.

List of things to do:

• Add slotscheck to test deps
• Add the configuration to pyproject.toml
• Add the call to Makefile

This should be a really small task for several minutes :)

#help_wanted #good_first_issue #dependencies #github_actions

sent via relator
👍1
🚀 New issue to wemake-services/wemake-python-styleguide by @sobolevn
📝 `WPS226` false positive on fstring parts (#3548)

This code raises a violation:

x = f'single {1}'
y = f'single {1}'

When --max-string-usage=1 is provided.

Output:

  1:5      WPS226 Found string literal over-use: single  > 1
x = f'single {1}'
^


This does not seem right, because strings that are part of f strings should not be counted by WPS226

PR would be rather easy :)

#help_wanted #levelstarter #good_first_issue #bug

sent via relator