Skip to content

Fix linting paths in CONTRIBUTING.md for clarity#13

Open
The-Digital-Alchemist wants to merge 1 commit into
facebookresearch:mainfrom
The-Digital-Alchemist:docs/fix-contributor-lint-path
Open

Fix linting paths in CONTRIBUTING.md for clarity#13
The-Digital-Alchemist wants to merge 1 commit into
facebookresearch:mainfrom
The-Digital-Alchemist:docs/fix-contributor-lint-path

Conversation

@The-Digital-Alchemist

@The-Digital-Alchemist The-Digital-Alchemist commented Jul 1, 2026

Copy link
Copy Markdown

Summary

Fixes an incorrect path in the contributor lint instructions.

CONTRIBUTING.md step 6 tells contributors to run:

ruff check brain2qwerty/
ruff format --check brain2qwerty/

There is no brain2qwerty/ directory in the repo. The source packages are
brain2qwerty_v1/, brain2qwerty_v2/, and studies/ (as declared in
pyproject.toml under [tool.setuptools.packages.find]). Because the path is
resolved relative to the repo root, ruff check brain2qwerty/ targets a
non-existent ./brain2qwerty/ and exits with "No such file or directory", so the
documented lint step silently checks nothing.

This PR updates both commands to point at the actual package directories:

ruff check brain2qwerty_v1/ brain2qwerty_v2/ studies/
ruff format --check brain2qwerty_v1/ brain2qwerty_v2/ studies/

Docs-only change; no source, config, or behavior is affected.

Test plan

  • pytest passes locally
  • ruff check passes (ruff format --check reports 2 pre-existing diffs
    in files this PR does not touch)

Checklist

@meta-cla meta-cla Bot added the cla signed label Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant