Skip to content

Conversation

@michplunkett
Copy link
Owner

@michplunkett michplunkett commented Mar 13, 2023

Describe your changes

This PR sets up a base Python 🐍 project for the Poetry packaging and dependency management program.

Non-obvious technical information

N/A

Checklist before requesting a review

  • The commands in the README work.
(poetry-python-project-py3.11) michaelp@MacBook-Air-3 poetry_python_project % make format
black project/ test/
All done! ✨ 🍰 ✨
4 files left unchanged.
(poetry-python-project-py3.11) michaelp@MacBook-Air-3 poetry_python_project % make lint
pylint project/ test/

------------------------------------
Your code has been rated at 10.00/10

(poetry-python-project-py3.11) michaelp@MacBook-Air-3 poetry_python_project % make test
pytest -vs test/
=========================================================================== test session starts ===========================================================================
platform darwin -- Python 3.11.1, pytest-7.2.2, pluggy-1.0.0 -- /Users/michaelp/Documents/GitHub/poetry_python_project/.venv/bin/python
cachedir: .pytest_cache
rootdir: /Users/michaelp/Documents/GitHub/poetry_python_project
collected 1 item                                                                                                                                                          

test/test_example.py::test_example PASSED

============================================================================ 1 passed in 0.00s ============================================================================
(poetry-python-project-py3.11) michaelp@MacBook-Air-3 poetry_python_project % make test-and-fail 
pytest -vsx test/
=========================================================================== test session starts ===========================================================================
platform darwin -- Python 3.11.1, pytest-7.2.2, pluggy-1.0.0 -- /Users/michaelp/Documents/GitHub/poetry_python_project/.venv/bin/python
cachedir: .pytest_cache
rootdir: /Users/michaelp/Documents/GitHub/poetry_python_project
collected 1 item                                                                                                                                                          

test/test_example.py::test_example PASSED

============================================================================ 1 passed in 0.00s ============================================================================
(poetry-python-project-py3.11) michaelp@MacBook-Air-3 poetry_python_project % make run
python -m project
oh, what up?
(poetry-python-project-py3.11) michaelp@MacBook-Air-3 poetry_python_project % 

@michplunkett michplunkett self-assigned this Mar 13, 2023
@michplunkett michplunkett changed the title Setup baselevel files Setup Poetry project Mar 13, 2023
@michplunkett michplunkett changed the title Setup Poetry project Setup Poetry 🐍 project Mar 13, 2023
@michplunkett
Copy link
Owner Author

Need to add instructions for getting the project going.

@michplunkett
Copy link
Owner Author

Add responses package.

@michplunkett michplunkett merged commit 6f4d6b0 into main Mar 13, 2023
@michplunkett michplunkett deleted the setup branch March 13, 2023 15:32
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.

2 participants