Contributing
Contributions are welcome! This document explains how to set up a development environment and contribute to narrativegraphs.
Development Setup
-
Clone the repository:
-
Create a virtual environment and install in editable mode:
-
Install pre-commit hooks:
Running Tests
Building Documentation
Code Style
This project uses:
rufffor linting and formatting Python code- Type hints throughout (checked with
mypy) - Google-style docstrings
eslintfor linting React/TypeScript code andprettierfor formatting
Submitting Changes
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature - Make your changes with tests
- Run the test suite and linters
- Submit a pull request
Questions?
Open an issue on GitHub or reach out directly.