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

Better coverage for linting #148

Closed
wants to merge 6 commits into from
Closed

Better coverage for linting #148

wants to merge 6 commits into from

Conversation

kachayev
Copy link
Collaborator

Make sure that ruff's linter covers the following files:

  • __init__.py (all of them)
  • base.py (all of them)
  • utils.py (all of them)
  • conftest.py

I left 2 rules excluded for skada/base.py (D101 and D102), it will take quite some work for fix all the documentation.

@tgnassou There's a question for you. In skada/deep/base.py I tried to wrote proper documentation for the forward function (see files changed). There's a single "???" in there, as I'm not really sure how to explain all 3 branches in the code. Would you please help me with that?

Closes #136.

@kachayev kachayev added the infrastructure Toolings and development practices label Mar 11, 2024
@kachayev kachayev requested a review from tgnassou March 11, 2024 16:23
@kachayev
Copy link
Collaborator Author

I'm closing this one as it this point it seems like merging with main is more problematic than doing from scratch. I will open another PR.

@kachayev kachayev closed this Apr 24, 2024
@rflamary rflamary deleted the fix-ruff-for-base branch November 27, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Toolings and development practices
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make sure ruff works with base and utils modules
1 participant