Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: Jasper Craeghs <[email protected]>
  • Loading branch information
JokeWaumans and JasperCraeghs authored Sep 24, 2024
1 parent 85b095b commit 4383fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mlx/warnings/regex_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def add_code_quality_finding(self, match):
finding["location"]["positions"]["begin"]["column"] = column_number

finding["description"] = description
finding["fingerprint"] = hashlib.md5(str(match.group(0).strip()).encode('utf8')).hexdigest()
finding["fingerprint"] = hashlib.md5(str(match.group(0).strip()).encode('utf-8')).hexdigest()
self.cq_findings.append(finding)

def check(self, content):
Expand Down

0 comments on commit 4383fbe

Please sign in to comment.