Get codespell passing and add it as a CI job.

This commit is contained in:
Julian Stirling 2025-07-10 17:57:43 +01:00
parent e33fecaef0
commit 7e6017f648
25 changed files with 113 additions and 85 deletions

View file

@ -40,7 +40,8 @@ dev = [
"pytest-mock==3.14",
"matplotlib~=3.10",
"hypothesis",
"pydoctor"
"pydoctor~=25.4",
"codespell~=2.4",
]
pi = [
"picamera2~=0.3.27",
@ -107,10 +108,10 @@ select = [
# "B", # Flake8 bugbear
"A", # Flake8 builtins checker
"C", # Flake8 comprehensions
# "FIX", #TODO/FIXME's in code. These should be added during develoment for ongoing tasks.
# "FIX", #TODO/FIXME's in code. These should be added during development for ongoing tasks.
# If they are not fixed before merge they should be converted to GitLab issues
# "LOG", # Flake8 logging issues (pedantic logger formatting issues can be added with "G")
# "T20", # Warns for print statments, production code should log
# "T20", # Warns for print statements, production code should log
# "PT", # pytest linting
"RET", # Consistent clear return statements
"RSE", # Raise parentheses