Skip to content

Latest commit

 

History

History
58 lines (48 loc) · 1.92 KB

File metadata and controls

58 lines (48 loc) · 1.92 KB

Contributing to Strongly Connected Components

Reporting Bugs

Submitting Changes

  1. Fork the repository, then clone the branch you want to work on.
    git clone https://github.com/<your-user>/strongly-connected-components.git
    cd strongly-connected-components
  2. Use Python 3.14.3 locally.
    python3.14 -m venv .venv
    source .venv/bin/activate
    python -m pip install --upgrade pip
    python -m pip install -r requirements.txt
  3. Create a topic branch.
    git checkout -b feature/your-change
  4. Make the change and update documentation when behavior or configuration changes.
  5. Run the relevant checks locally.
    python -m unittest discover -s tests -p 'test_*.py'
    python main.py
  6. Commit and push your branch.
    git add <files>
    git commit -m "Describe the change"
    git push origin feature/your-change
  7. Open a pull request with a clear summary of the change and any tradeoffs.

Development Guidelines

  • Follow PEP 8
  • Prefer clear names, small functions, and straightforward control flow
  • Keep the code compatible with Python 3.14 only
  • Add type hints and docstrings where they improve readability
  • Update README.md or docs in docs/ when user-facing behavior changes

Testing Notes

  • Python target: 3.14.3 locally, latest 3.14 patch in CI
  • Python versions earlier than 3.14 are unsupported for contributions and bug reports
  • Correctness mode: TEST = True, MEMORY_TEST = False
  • Benchmark mode: TEST = False
  • Memory mode: TEST = True, MEMORY_TEST = True

License

By contributing, you agree that your contributions are released under the MIT License.