code-review-doctor
code-review-doctor
Some strings looks like they're meant to be f-strings but are missing the `f` prefix meaning variable interpolation won't happen. https://github.com/donnemartin/gitsome/blob/d7c57abc7cb66e9c910a844f15d4536866da3310/xonsh/prompt/base.py#L119 I found this issue automatically. I'm a bot. Beep...
Unwanted comma on line 609 results in code being set to a tuple rather than a string. https://github.com/coderholic/django-cities/blob/c811bbbe2b509d99d2ea025fa1e7106330a90e51/cities/management/commands/cities.py#L608-L609 A comma makes it a tuple (no need for parent, all it...
I found these issues automatically via https://django.doctor/zaxlct/imooc-django most of the issues found were ORM issues: https://django.doctor/advice/performance
Fixes #7240
I found this issue automatically using https://django.doctor/geex-arts/django-jet
Fixes #668
Some strings looks like they're meant to be f-strings but are missing the `f` prefix meaning variable interpolation won't happen. https://github.com/microsoft/computervision-recipes/blob/9380789c5fe47069aa58b33b59fdb15ead528e84/utils_cv/classification/parameter_sweeper.py#L152 https://github.com/microsoft/computervision-recipes/blob/9380789c5fe47069aa58b33b59fdb15ead528e84/utils_cv/classification/parameter_sweeper.py#L156 https://github.com/microsoft/computervision-recipes/blob/9380789c5fe47069aa58b33b59fdb15ead528e84/utils_cv/classification/data.py#L99 I found this issue automatically. I'm a...
Missing comma at end of line 155 results in `ERROR_GROUP_INVITATION_DOES_NOT_EXIST` being concatenated with `ERROR_REQUEST_BODY_VALIDATION` to form `ERROR_GROUP_INVITATION_DOES_NOT_EXISTERROR_REQUEST_BODY_VALIDATION` thanks to Python's permissive string concatenation: https://github.com/bram2w/baserow/blob/f61132a0fcb7e5620571155f7622766574ed52fd/backend/src/baserow/api/user/views.py#L153-L158 This will negatively affect the drf_spectacular...