Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.01 KB

File metadata and controls

42 lines (29 loc) · 1.01 KB

Contributing to numpycpp

Thanks for your interest in contributing!

Getting Started

  1. Fork the repository and clone it locally.
  2. Install dependencies: C++20 compiler, CMake >= 3.16, Eigen3 >= 3.3, pybind11.
  3. Build the project:
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j$(nproc)

Development Workflow

  • Create a branch for your change.
  • Make your changes, following the existing code style.
  • Add tests in tests/ for new functionality.
  • Verify the build succeeds before submitting.

Pull Requests

  • Keep PRs focused on a single change.
  • Reference any related issues in the PR description.
  • Ensure all tests pass.

Code Style

  • C++20, no compiler extensions.
  • Follow existing naming conventions in the codebase.
  • Header-only where practical for pybind11 integration.

Reporting Issues

Use the issue tracker and include:

  • Steps to reproduce
  • Expected vs actual behavior
  • Compiler version, OS, and dependency versions