Restructure the library and adjust the importing in each file
Closed this issue · 12 comments
Note: The changes that are to be made is written in parentheses( )
##Fix the importing errors.
The error we are getting while importing the files -
The file structure that should be done -
.github/workflows
easyPythonpi
-----------methods
--------init.py
--------basics.py
.
.
------------test
---------init.py
---------test_basics.py
---------test_linkedlist.py
.
.
-------------init.py (if that's needed. If not dont include)
-------------easyPythonpi.py (execution starts from here)
CONTRIBUTION.md (Change name from contributing to contribution.md)
README.md
setup.py
If your are not sure about any file structure, feel free to ping in this channel.
@AndrewHUNGNguyen I have created the issue. Have a look -
@AndrewHUNGNguyen I have created the issue. Have a look -
What do I need to do after pulling the most up-to-date code? I looked through the readme, and I don't see any clear way to tell if the code is running as supposed to, especially the test cases.
@AndrewHUNGNguyen readme is also outdated. Don't follow that. First we have to make a working library then we can write readme according to that code.
@AndrewHUNGNguyen readme is also outdated. Don't follow that. First we have to make a working library then we can write readme according to that code.
Gotcha! A followup question that I have is how should I reproduce the steps to the error in the screenshot? I forgot to ask you to provide the steps to reproduce. The only thing I will have to figure on my own is how to do it on Mac I guess, since you got this error in a Windows Environment.
@extinctsion actually I think I reproduced the steps via Mac, not sure if this is the exact error.
Come out of the test_cases dir. Then try again. Are u getting same error?
Run command - python -m unittest
If it works then the structure for test cases is now ok.
@AndrewHUNGNguyen I'm also trying to figure out a solution.