AlexsLemonade / scpcaTools

BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Add precommit and specify Seurat version #240

Closed jashapiro closed 11 months ago

jashapiro commented 11 months ago

Closes #238 Here I added precommit to do automatic formatting and linting.

I made the linting a bit more lenient for things we probably don't care much about. The one thing that we were violating but I left was cyclocomp_linter, which tries to prevent too much complexity in functions. But we only violated that in one place, so I just used # nolint flags to disable it in that one place.

I also did an initial run at #239 in the most simple way I could, just setting that Seurat has to be < v5.0.0.