Skip to content

fixing readme, added and got rid of some documentation#62

Merged
SethColeman50 merged 3 commits intomirrulations:mainfrom
CloudUki:fixing_linter
Apr 24, 2025
Merged

fixing readme, added and got rid of some documentation#62
SethColeman50 merged 3 commits intomirrulations:mainfrom
CloudUki:fixing_linter

Conversation

@CloudUki
Copy link
Contributor

Making this README unique to the API repo. Going to be adding more stuff soon.

- `pip install -r requirements.txt`
- cd to endpoints specifically and run `python -m pytest ../tests/handler_test.py`
- I do not know why the tests don't work in other directories, here's a [stackoverflow link](https://stackoverflow.com/questions/45154583/pytest-running-from-parent-directory) that might have the answers.
- cd to the root specifically and run `pylint --rcfile=./tests/.pylintrc $(git ls-files '*.py')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this runs linting and not the test, so I think both should stay in the readme

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, I can also double check with @TeranG710

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CloudUki Yes the command runs linting on every file ending in 'py' in the directory.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TeranG710 gotcha, ill add it back in then thank you.

Copy link
Contributor

@dg25moravian dg25moravian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me

Copy link
Contributor

@SethColeman50 SethColeman50 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for reincluding the test command, looks good!

@SethColeman50 SethColeman50 merged commit 71454d7 into mirrulations:main Apr 24, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants