AdaptiveMotorControlLab / CEBRA

Learnable latent embeddings for joint behavioral and neural analysis - Official implementation of CEBRA
https://cebra.ai
Other
920 stars 77 forks source link

Add ruff for linting the codebase #167

Closed stes closed 1 month ago

stes commented 3 months ago

Adds ruff for linting the whole codebase. Config is done in the project.toml, and added to the pre-commit hooks.

Fix https://github.com/AdaptiveMotorControlLab/CEBRA-dev/pull/662

The actual fixes will be added to a dedicated PR to avoid clutter: https://github.com/AdaptiveMotorControlLab/CEBRA/pull/185

stes commented 1 month ago

@MMathisLab , this PR looks good to me. I did the actual work to fix all raised issues in #185 , to keep this PR as clean as possible and only about our linting config. Good to merge from my end, as soon as the last test passes.