-
Notifications
You must be signed in to change notification settings - Fork 273
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 code quality tests #8
Comments
Suggested external resource, CodacyThe Code quality check can be automated with Codacy, without any explicit code in the repo. Example reference Kartikei-12/Pyrunc/ |
Thanks for the idea. AFAICFO, I think Codacy needs to be installed and then we need to update |
No Codacy installation is not required, and provides code quality measures directly in browser, an can be configured in the same way. |
Thanks for the clarification. I will take a look into it. |
You could also look into setting up |
We will add our own tests in the root directory. |
Can you provide a list of parameters you wish to test at the moment? |
Currently, we need tests for trailing white spaces and new line issues at the end of the file. |
These seem to be more code style tests than code quality. |
Description of the problem
Currently there are no tests to check the quality of the code, example each file should end with new line, there should be no trailing white space.
A good place to add code quality tests will be,
pydatastructs.utils.tests.test_code_quality
.Example of the problem
References/Other comments
Refer, https://github.com/sympy/sympy/blob/master/sympy/utilities/tests/test_code_quality.py
The text was updated successfully, but these errors were encountered: