Showing 149 of 160 total issues
Inline HTML Open
<td align="center" valign="top" width="14.28%"><a href="http://linkedin.com/in/brylie-christopher-oxley/"><img src="https://avatars.githubusercontent.com/u/17307?v=4?s=100" width="100px;" alt="Brylie Christopher Oxley"/><br /><sub><b>Brylie Christopher Oxley</b></sub></a><br /><a href="https://github.com/GeriLife/caregiving/commits?author=brylie" title="Code">💻</a> <a href="https://github.com/GeriLife/caregiving/commits?author=brylie" title="Tests">⚠️</a></td>
- Read upRead up
- Exclude checks
MD033 - Inline HTML
Tags: html
Aliases: no-inline-html
This rule is triggered whenever raw HTML is used in a markdown document:
Inline HTML header
To fix this, use 'pure' markdown instead of including raw HTML:
# Markdown header
Rationale: Raw HTML is allowed in markdown, but this rule is included for those who want their documents to only include "pure" markdown, or for those who are rendering markdown documents in something other than HTML.
Inline HTML Open
<td align="center" valign="top" width="14.28%"><a href="http://linkedin.com/in/brylie-christopher-oxley/"><img src="https://avatars.githubusercontent.com/u/17307?v=4?s=100" width="100px;" alt="Brylie Christopher Oxley"/><br /><sub><b>Brylie Christopher Oxley</b></sub></a><br /><a href="https://github.com/GeriLife/caregiving/commits?author=brylie" title="Code">💻</a> <a href="https://github.com/GeriLife/caregiving/commits?author=brylie" title="Tests">⚠️</a></td>
- Read upRead up
- Exclude checks
MD033 - Inline HTML
Tags: html
Aliases: no-inline-html
This rule is triggered whenever raw HTML is used in a markdown document:
Inline HTML header
To fix this, use 'pure' markdown instead of including raw HTML:
# Markdown header
Rationale: Raw HTML is allowed in markdown, but this rule is included for those who want their documents to only include "pure" markdown, or for those who are rendering markdown documents in something other than HTML.
Standard pseudo-random generators are not suitable for security/cryptographic purposes. Open
num_residents = random.choice(NUM_RESIDENTS_PER_HOME)
- Exclude checks
Standard pseudo-random generators are not suitable for security/cryptographic purposes. Open
- datetime.timedelta(days=random.choice(ACTIVITY_DAYS_AGO)),
- Exclude checks
Standard pseudo-random generators are not suitable for security/cryptographic purposes. Open
activity_type=random.choice(
ResidentActivity.ActivityTypeChoices.choices,
- Exclude checks
Standard pseudo-random generators are not suitable for security/cryptographic purposes. Open
num_activities = random.choice(NUM_ACTIVITIES_PER_RESIDENT)
- Exclude checks
Standard pseudo-random generators are not suitable for security/cryptographic purposes. Open
activity_minutes=random.choice(ACTIVITY_MINUTES),
- Exclude checks
Standard pseudo-random generators are not suitable for security/cryptographic purposes. Open
caregiver_role=random.choice(
ResidentActivity.CaregiverRoleChoices.choices,
- Exclude checks
Refactor this function to reduce its Cognitive Complexity from 21 to the 15 allowed. Open
def get_resident_percents_by_activity_level_normalized(self) -> dict[str, float]:
- Read upRead up
- Exclude checks
Cognitive Complexity is a measure of how hard the control flow of a function is to understand. Functions with high Cognitive Complexity will be difficult to maintain.