File: CONTRIBUTING.md

package info (click to toggle)
scikit-optimize 0.10.2-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,736 kB
  • sloc: python: 10,668; javascript: 438; makefile: 139; sh: 6
file content (63 lines) | stat: -rw-r--r-- 2,700 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63

Contributing
============
Scikit-Optimize is an open-source project, and contributions of all kinds
are welcome. We believe in this [code of conduct](CONDUCT.md).

You can contribute documentation, examples or code, review open pull requests,
help answer questions in the forum, create visualizations, maintain project
infrastructure, write new user stories ... All efforts are equally important.


Issues
------
When opening a new issue, please follow the chosen issue template.
See [How to Report Bugs Effectively][bugs].

When describing a **bug**, please provide a [**minimal working example**][mwe],
and _full_ [traceback], if applicable, sufficient to understand
and reproduce the issue on our end.

Wrap code/verbatim/output text in [fenced code blocks][code].

[bugs]: https://www.chiark.greenend.org.uk/~sgtatham/bugs.html
[mwe]: https://en.wikipedia.org/wiki/Minimal_working_example
[traceback]: https://en.wikipedia.org/wiki/Stack_trace
[code]: https://docs.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks


Pull requests
-------------
Contributions should roughly follow the [GitHub flow] and these guidelines:

* all changes by pull request (PR);
* create a PR early while you work on
  it (good to avoid duplicated work, get broad review of functionality or API,
  or seek collaborators);
* mark your pull request as draft until it's ready for review;
* a PR should solve one problem with a minimal set of changes
  (don't mix problems together in one issue/PR);
* describe _why_ you are proposing the changes you are proposing;
* try to not rush changes (the definition of rush depends on how big your
  changes are);
* someone else has to merge your PR;
* new code needs to come with tests that cover it;
* apply [PEP8](https://www.python.org/dev/peps/pep-0008/) as much
  as possible, but not too much (`flake8` should pass);
* no merging if CI checks are red.

These are guidelines rather than hard rules to be enforced by :police_car:

All contributors are welcome, but
note that scikit-optimize is a _mature_ project, with thousands of users,
and thus a responsibility to move slow, particularly when it comes to
backwards-incompatible changes or vastly expanded functionality/scope.

**Before making a PR for a new feature, do weigh the cost-benefit
assumptions. Make sure your proposal is discussed and that it received
community support. Avoid expending effort that would go unmerged.
The [inclusion criteria for new functionality][criteria] is as strict
as that of scikit-learn.**

[GitHub flow]: https://guides.github.com/introduction/flow/
[criteria]: https://scikit-learn.org/stable/faq.html#what-are-the-inclusion-criteria-for-new-algorithms