When interacting with other users and maintainers, please be sure to abide by the Code of Conduct.
If you are submitting a bug report, please answer the following questions:
- What version of CyNetDiff were you using?
- What were you doing?
- What did you expect to happen?
- What happened instead?
Please provide any code to reproduce the issue, if possible.
If you are requesting a new feature or change or behavior, please describe what you are looking for, and what implementation would make this feature beneficial for your use case.
CyNetDiff is an open-source project under the MIT License, so you are welcome and encouraged to modify the codebase with new fixes and enhancements. Please observe the following guidelines when submitting pull requests for new fixes or features:
-
All new Python code must be formatted with ruff. The .vscode directory in this repository is configured to autoformat with ruff on save if you are using VSCode. All Cython code must pass a check from cython-lint.
-
Whether you are introducing a bug fix or a new feature, you must add tests to verify that your code additions function correctly and break nothing else.
-
Make sure that all new code includes updated docstrings in the NumPy style.
-
If you are adding a new feature or changing behavior, please update the documentation appropriately with the relevant information. To run the documentation site locally, install the documentation dependencies with:
pdm install -G docs --no-selfThen, start the local server with the following command:
pdm run mkdocs gh-deploy --forceThis project is developed using PDM. It is strongly recommended for local development.
To install the local version of the library with all development dependencies, run the following:
pdm install -G :all --without docsThis will build the project locally and install dependencies. To rebuild the project after making changes,
run pdm install again.
The unit tests use pytest.
pdm run pytest