Skip to content

Latest commit

 

History

History
77 lines (63 loc) · 1.23 KB

File metadata and controls

77 lines (63 loc) · 1.23 KB

Project contribution setup

Clone the project

git clone https://github.com/Happy-Kumar-Sharma/trace-logger.git

move into the project folder

cd trace-logger

Install the virtualenv

pip install virtualenv

Enter into virtual env

python -m venv venv

Activate the virtual env

source venv/Scripts/activate [Windows]
source venv/bin/activate [Ubuntu]

Install packages from requirements.txt file

pip install -r requirements.txt

Install pre-commit -- not to follow [Optional] First, install the pre-commit package by running

pip install pre-commit

Install the pre-commit hooks

pre-commit install

Delete precommit hooks [Not required]

pre-commit clean

Auto update precommit [Not required]

pre-commit autoupdate

Check standard guidline of this project [Optional]

pre-commit run --all-files

Install build tools:

pip install build twine

Build the package:

python -m build

Clean Previous Builds

rm -rf dist build *.egg-info

Run the tests using

pytest tests/