Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request. I would like to keep the library to be safe as possible, so i would appreciate if you cover any new feature with tests to maintain 100% coverage.
Install in a development environment
-
First, clone the repository:
git clone git@github.com:SpaceShaman/ORMagic.git
-
Install poetry if you don't have, here you can find the instructions
-
Create a virtual environment and install the dependencies:
cd ORMagic poetry install --no-root
-
Activate the virtual environment:
poetry shell
Run tests
If you in the virtual environment, you can run the tests with the following command:
pytest
You can also run the tests with coverage:
pytest --cov=ormagic