[codespell]
# A seperate RC file for detecting camelCase, PascalCase, and kebab-case errors
# A little more prone to fals positives than our standard regex, aslo fails to detect
# hyphenated words in the dictonary.

# Same as the main RC-file except for also excludes CHANGELOG as this is well covered
# by the normal RC file, and we get false positives from git hashes.
skip = node_modules,
       *-lock.json,
       *.git,
       *.pyc,
       __pycache__,
       ./build,
       ./dist,
       ./apidocs,
       ./openflexure,
       ./htmlcov,
       ./src/openflexure_microscope_server/static,
       .venv,
       *.egg-info,
       report.xml,
       CHANGELOG.md

# Ignores split by |
# Ignore hexadecimal numbers preceded by #
# Ignore FoV
ignore-regex = #[0-9A-Fa-f]{3,8}\b|\bFoV\b

regex = [A-Z]?[a-z\']+
