ecc56 / ClassworkSpring2021

0 stars 0 forks source link

In class exercise, Error with pycodestyle #9

Open ecc56 opened 3 years ago

ecc56 commented 3 years ago

I have created the function and fixed a couple of mistakes on my unit test function.

https://github.com/ecc56/ClassworkSpring2021/blob/288dff53c4c4315babaeee378c4a15a25912d2ea/line_points.py#L1-L5

https://github.com/ecc56/ClassworkSpring2021/blob/288dff53c4c4315babaeee378c4a15a25912d2ea/test_line_points.py#L1-L10

I tried to test pycodestyle on my function and unit test, however I kept getting this error. I was wondering if you can tell what I am doing wrong? pycodestyle error

dward2 commented 3 years ago

For some reason, you do not have pytest-pycodestyle in your install packages. Below is my list of installs.

image

I see that you have added it to your requirements.txt file, but it isn't installed for some reason. So, with your virtual enviornment activated, type pip install pytest-pycodestyle or pip install -r requirements.txt then see if it works. Let me know what happens.

ecc56 commented 3 years ago

Professor Ward, That worked! Thank you so much!