# Contributing to WanGP

Contributions are welcome: bug fixes, improvements, new models, plugins and documentation.

## Before your first pull request

WanGP is distributed under the WanGP Community License 2.0 (see [`LICENSE.txt`](../LICENSE.txt) at the repository root), and its owner may also offer it under other licences. To make that possible, every contributor signs the **WanGP Contributor License Agreement** ([`.github/CLA.md`](CLA.md)) once. You keep the copyright in your work; you give the project owner a licence to use and relicense it.

To sign, add this sentence to your pull request description or as a comment on it:

> I have read the WanGP Contributor License Agreement (.github/CLA.md) and I agree to it for this and all my previous Contributions to WanGP.

Pull requests are merged only once the agreement is signed.

## Third-party code

If your contribution includes code, models, data or assets from another project, say so in the pull request and give the source and its licence. Keep the original copyright notices in those files. GPL code cannot be accepted.

## Copyright headers

Files written for WanGP start with:

```python
# Copyright (c) <year> DeepBeepMeep - part of WanGP, WanGP Community License 2.0 (see LICENSE.txt)
```

Keep this line when you modify such a file. Do not add it to files that come from other projects.
