File: devcontribute.rst.txt

package info (click to toggle)
pyroute2 0.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,028 kB
  • sloc: python: 19,815; ansic: 81; makefile: 14
file content (30 lines) | stat: -rw-r--r-- 772 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
.. devcontribute:

Project contribution guide
==========================

To contribute the code to the project, you can use the
github instruments: issues and pull-requests. See more
on the project github page: https://github.com/svinota/pyroute2

Requirements
++++++++++++

The code should comply with some requirements:

* the library must work on Python >= 2.6 and 3.2.
* the code must strictly comply with PEP8 (use `flake8`)
* the `ctypes` usage must not break the library on SELinux

Testing
+++++++

To perform code tests, run `make test`. Details about
the makefile parameters see in `README.make.md`.

Links
+++++

* flake8: https://pypi.python.org/pypi/flake8
* vim-flake8: https://github.com/nvie/vim-flake8
* nosetests: http://nose.readthedocs.org/en/latest/