You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the models.py file through flake8 and pylint, I discovered that there were many, many python style guide issues that could be avoided and hopefully rectified. I believe that editing the code to adhere more to the python style guide to help with code readability for developers and maintainers could be a useful use of time.
Describe the ideal solution
The ideal solution is to attempt to refactor the code in order to adhere more to the python style guide and help with code readability and hopefully even manageability. This is just a matter of editing the code to fix the issues that occurred from the pylint and flake8 inspection I conducted.
Alternatives and current workarounds
I have not considered any alternatives or work arounds as this issue is mainly cosmetic and I do not foresee any solutions besides code refactoring.
Additional context
What I Did
I ran the models.py file through 2 different code inspection programs to help me determine code smells and issues with code that variated from the python style guide in order to see how readable the code was! That is where the screenshots came from.
The text was updated successfully, but these errors were encountered:
We appreciate your effort in reporting this. Our team will review it and get back to you soon.
If you have any additional details or updates, feel free to add them to this issue.
Note: If this is a serious security issue that could impact the security of Safety CLI users, please email [email protected] immediately.
Checklist
Safety version
3.2.11
Python version
3.9
Operating System
Windows 11
Describe the problem you'd like to have solved
When running the models.py file through flake8 and pylint, I discovered that there were many, many python style guide issues that could be avoided and hopefully rectified. I believe that editing the code to adhere more to the python style guide to help with code readability for developers and maintainers could be a useful use of time.
Describe the ideal solution
The ideal solution is to attempt to refactor the code in order to adhere more to the python style guide and help with code readability and hopefully even manageability. This is just a matter of editing the code to fix the issues that occurred from the pylint and flake8 inspection I conducted.
Alternatives and current workarounds
I have not considered any alternatives or work arounds as this issue is mainly cosmetic and I do not foresee any solutions besides code refactoring.
Additional context
What I Did
I ran the models.py file through 2 different code inspection programs to help me determine code smells and issues with code that variated from the python style guide in order to see how readable the code was! That is where the screenshots came from.
The text was updated successfully, but these errors were encountered: