ContributingΒΆ
Instructions:
Fork the repository.
Clone the repo:
git clone https://github.com/YOUR_USERNAME/synax cd synax
Perform an editable installation:
pip install -e ".[dev,docs]"
Add the original repo as an upstream remote:
git remote add upstream https://github.com/carlosgmartin/synax
Create a branch:
git checkout -b name-of-change
Implement your change.
Lint, typecheck, and run tests:
ruff check && ruff format && pyright && pytest
If you have edited the documentation, build and preview it:
sphinx-build -M html docs docs/_build open docs/_build/html/index.html
Add the files you have modified and create a commit:
git add file1.py file2.py ... git commit -m "Your commit message."
Sync your code with the original repo, resolving any conflicts:
git fetch upstream git rebase upstream/master
Push your commit:
git push --set-upstream origin name-of-change
Go to the repo and create a pull request.