Showing 230 of 230 total issues
TODO found Open
Open
# TODO: give variables proper names, or rewrite algorithm
- Exclude checks
Refactor this function to reduce its Cognitive Complexity from 35 to the 15 allowed. Open
Open
def validate(self):
- Read upRead up
- Exclude checks
Merge this if statement with the enclosing one. Open
Open
if start_date > end_date:
- Read upRead up
- Exclude checks
TODO found Open
Open
#TODO remove when MultiSelectField fully supports Django 5.0
- Exclude checks
Use of mark_safe() may expose cross-site scripting vulnerabilities and should be reviewed. Open
Open
return mark_safe(html_text)
- Exclude checks
Potential XSS on mark_safe function. Open
Open
return mark_safe(html_text)
- Exclude checks
Use of mark_safe() may expose cross-site scripting vulnerabilities and should be reviewed. Open
Open
return format_html('<a href="{}"{}>{}</a>', href, mark_safe(extra_attrs), text)
- Exclude checks
TODO found Open
Open
# TODO: Add `parents` to `m2m_fields` when https://github.com/jazzband/django-simple-history/issues/1126 is resolved
- Exclude checks
TODO found Open
Open
# TODO: remove the explicitly set `max_length` when https://github.com/goinnn/django-multiselectfield/issues/131 is resolved
- Exclude checks
Potential XSS on mark_safe function. Open
Open
return mark_safe(f'{prefix}{tag_start}target="_blank" {rest}')
- Exclude checks