Skip to content

A. Contribution Guidelines

WRH edited this page Apr 22, 2022 · 11 revisions

General Guidelines

OpenMMLab contribution guidelines

How to make pull requests for MMEditing

We refer uses to the documentation of MMCV.

English Version | Chinese Version

How to pass all checks

Pass linting

Configure pre-commit hooks

Check List

  1. Remember to add some docstring if you have modified the argument list of a function.
  2. Remember to some docs, if you have modified some command line tools.

Windows compatibility

Please make sure paths are compatible with Windows.

Please use fix-length data type as np.int64, np.int32 instead of platform-dependent ones as np.long or np.int

Tags for PR