-
Notifications
You must be signed in to change notification settings - Fork 3
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
Automated code formatting #72
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @nicolossus
Cool! Please remove the test_data
folder from linting though, because these are datasets generated by the acquisition systems.
Can you revert the changes on those files too?
@alejoe91 Fixed 👍 |
pyproject.toml
Outdated
"ipywidgets>=8.1.1", | ||
"nwbwidgets>=0.11.3", | ||
"tbb>=2021.11.0", | ||
"tbb>=2021.11.0", # TODO: pip can't find tbb or tbb4py (at least on macOS). Is it needed? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is supposed to run on educloud, and tbb is needed there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. 8d8e408 proposes a solution that will let the package be installable on macOS with tbb
listed in the requirements:
dependencies = [
...
"tbb>=2021.11.0; platform_system != 'Darwin'",
]
This PR adds automated code formatting and linting via
pre-commit
hooks. The PR also reformats the entire codebase and fix warnings from the linter.(Note that the PR is against the
bug-fixes
branch, as this is the most recent.)