Debian Codegraph @

CONTRIBUTING.md

raw symbols SCIP
1 # Contributing
2
3 Prometheus uses GitHub to manage reviews of pull requests.
4
5 * If you have a trivial fix or improvement, go ahead and create a pull request,
6 addressing (with `@...`) the maintainer of this repository (see
7 [MAINTAINERS.md](MAINTAINERS.md)) in the description of the pull request.
8
9 * If you plan to do something more involved, first discuss your ideas on
10 [our mailing list]. This will avoid unnecessary work and surely give you and
11 us a good deal of inspiration.
12
13 * Before your contributions can be landed, they must be signed off under the
14 [Developer Certificate of Origin] which asserts you own and have the right to
15 submit the change under the open source licence used by the project.
16
17 ## Testing
18
19 Submitted changes should pass the current tests, and be covered by new test
20 cases when adding functionality.
21
22 * Run the tests locally using [tox] which executes the full suite on all
23 supported Python versions installed.
24
25 * Each pull request is gated using [Travis CI] with the results linked on the
26 github page. This must pass before the change can land, note pushing a new
27 change will trigger a retest.
28
29 ## Style
30
31 * Code style should follow [PEP 8] generally, and can be checked by running:
32 ``tox -e flake8``.
33
34 * Import statements can be automatically formatted using [isort].
35
36
37 [our mailing list]: https://groups.google.com/forum/?fromgroups#!forum/prometheus-developers
38 [Developer Certificate of Origin]: https://github.com/prometheus/prometheus/wiki/DCO-signing
39 [isort]: https://pypi.org/project/isort/
40 [PEP 8]: https://www.python.org/dev/peps/pep-0008/
41 [tox]: https://tox.readthedocs.io/en/latest/
42 [Travis CI]: https://docs.travis-ci.com/