Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add precommit and specify Seurat version #240

Merged
merged 8 commits into from
Nov 22, 2023
Merged

Conversation

jashapiro
Copy link
Member

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.

Copy link
Member

@allyhawkins allyhawkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one typo to fix.

CONTRIBUTING.md Outdated Show resolved Hide resolved
Co-authored-by: Ally Hawkins <[email protected]>
@jashapiro jashapiro merged commit 811d267 into main Nov 22, 2023
2 checks passed
@jashapiro jashapiro deleted the jashapiro/precommit branch November 22, 2023 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add pre-commit to this repo
2 participants