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...
😭5❤2
https://github.com/reagento/dishka/blob/develop/docs/integrations/aiogram_dialog.rst?plain=1#L19
нет импорта
#python #docs #dishka
нет импорта
FromDishka в доке#python #docs #dishka
GitHub
dishka/docs/integrations/aiogram_dialog.rst at develop · reagento/dishka
Cute dependency injection (DI) framework for Python with agreeable API and everything you need - reagento/dishka
https://github.com/reagento/dishka/blob/develop/docs/integrations/click.rst?plain=1#L19
нет импорта
#python #docs #dishka
нет импорта
make_container в доке#python #docs #dishka
GitHub
dishka/docs/integrations/click.rst at develop · reagento/dishka
Cute dependency injection (DI) framework for Python with agreeable API and everything you need - reagento/dishka
😁7
🚀 New issue to wemake-services/django-modern-rest by @sobolevn
📝 Add 3 more tests for component schema generation (#603)
There are several cases that we don't cover in
1. We need to test
django-modern-rest/tests/test_unit/test_openapi/test_schema_snapshots.py
Line 66 in 8555cd5
2. We need to test
django-modern-rest/tests/test_unit/test_openapi/test_schema_snapshots.py
Line 67 in 8555cd5
These corner cases can just be added to the existing
1. We also need to test at least one file field as a list, add one field to
django-modern-rest/tests/test_unit/test_openapi/test_schema_snapshots.py
Line 122 in 8555cd5
This can be added to
This is a super easy issue for first-timers only :)
#enhancement #good_first_issue #help_wanted #python #django_modern_rest
sent via relator
📝 Add 3 more tests for component schema generation (#603)
There are several cases that we don't cover in
tests/test_unit/test_openapi/test_schema_snapshots.py1. We need to test
Query component schema generation with one field in __dmr_force_list__ and one other regular fielddjango-modern-rest/tests/test_unit/test_openapi/test_schema_snapshots.py
Line 66 in 8555cd5
2. We need to test
Query component with at least one field indjango-modern-rest/tests/test_unit/test_openapi/test_schema_snapshots.py
Line 67 in 8555cd5
These corner cases can just be added to the existing
_QueryModel1. We also need to test at least one file field as a list, add one field to
__dmr_force_list__ for FileMetadata component as welldjango-modern-rest/tests/test_unit/test_openapi/test_schema_snapshots.py
Line 122 in 8555cd5
This can be added to
_SeveralFiles model.This is a super easy issue for first-timers only :)
#enhancement #good_first_issue #help_wanted #python #django_modern_rest
sent via relator