-
Notifications
You must be signed in to change notification settings - Fork 1
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
style: reformat unit test modules #125
style: reformat unit test modules #125
Conversation
By ignoring the error This error does not allow to break a line after/before an arithmetic operator enabling the possibility of concatenating strings in different lines (which avoids having >79 char long lines). |
flake8
…ipts' of github.com:zavolanlab/mirflowz into 120-refactor-static-code-analysis-for-the-unit-test-scripts merge to be able to push
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.
Nice :)
This PR closes #120 .
All the unit test scripts are now passing the
flake8
analysis. To do so, two__init__.py
have been added (one in thescripts/
directory and one in thescripts/test/
one) and the module imports are now made using relative paths.The
pytest
call has now an extra parameter to ensure the correct import of the modules and test files.Moreover, a extra static code analysis test using
black
has been added to the CI-