2013-04-06 19:45:15 +00:00
|
|
|
.. -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
============
|
|
|
|
Contribute
|
|
|
|
============
|
|
|
|
|
|
|
|
Bug reports, feedback
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
You think you have found a bug in Pylint? Well, this may be the case
|
2013-04-29 13:31:03 +00:00
|
|
|
since Pylint is under development.
|
2013-04-06 19:45:15 +00:00
|
|
|
|
2013-04-29 13:31:03 +00:00
|
|
|
Please take the time to check if it is already in the issue tracker at
|
|
|
|
https://bitbucket.org/logilab/pylint
|
2013-04-06 19:45:15 +00:00
|
|
|
|
2013-04-29 13:31:03 +00:00
|
|
|
If you can not find it in the tracker, create a new issue there or discuss your
|
|
|
|
problem on the code-quality@python.org mailing list.
|
|
|
|
|
|
|
|
The code-quality mailing list is also a nice place to provide feedback about
|
|
|
|
Pylint, since it is shared with other tools that aim at improving the quality of
|
|
|
|
python code.
|
|
|
|
|
|
|
|
Note that if you don't find something you have expected in Pylint's
|
|
|
|
issue tracker, it may be because it is an issue with one of its dependencies, namely
|
2013-06-17 13:06:48 +00:00
|
|
|
astroid and logilab-common:
|
2013-04-06 19:45:15 +00:00
|
|
|
|
2013-06-17 13:06:48 +00:00
|
|
|
* https://bitbucket.org/logilab/astroid
|
2013-04-06 19:45:15 +00:00
|
|
|
* http://www.logilab.org/project/logilab-common
|
|
|
|
|
|
|
|
Mailing lists
|
|
|
|
-------------
|
|
|
|
|
2013-04-29 13:31:03 +00:00
|
|
|
Use the code-quality@python.org mailing list for anything related
|
2013-04-06 19:45:15 +00:00
|
|
|
to Pylint. This is in most cases better than sending an email directly
|
|
|
|
to the author, since others will benefit from the exchange, and you'll
|
2013-04-29 13:31:03 +00:00
|
|
|
be more likely answered by someone subscribed to the list.
|
2013-04-06 19:45:15 +00:00
|
|
|
|
|
|
|
You can subscribe to this mailing list at
|
2013-05-07 07:30:59 +00:00
|
|
|
http://mail.python.org/mailman/listinfo/code-quality
|
2013-04-06 19:45:15 +00:00
|
|
|
|
|
|
|
Archives are available at
|
2013-05-07 07:30:59 +00:00
|
|
|
http://mail.python.org/pipermail/code-quality/
|
2013-04-06 19:45:15 +00:00
|
|
|
|
2013-04-29 13:31:03 +00:00
|
|
|
Archives before April 2013 are available at
|
|
|
|
http://lists.logilab.org/pipermail/python-projects/
|
2013-04-06 19:45:15 +00:00
|
|
|
|
2013-04-29 13:31:03 +00:00
|
|
|
Forge
|
|
|
|
-----
|
2013-04-06 19:45:15 +00:00
|
|
|
|
2013-04-29 13:31:03 +00:00
|
|
|
Pylint is developped using the mercurial_ distributed version control system.
|
2013-04-06 19:45:15 +00:00
|
|
|
|
2013-04-29 13:31:03 +00:00
|
|
|
You can clone Pylint and its dependencies from ::
|
2013-04-06 19:45:15 +00:00
|
|
|
|
2013-04-17 08:33:52 +00:00
|
|
|
hg clone https://bitbucket.org/logilab/pylint
|
2013-06-17 13:06:48 +00:00
|
|
|
hg clone https://bitbucket.org/logilab/astroid
|
2013-04-17 08:33:52 +00:00
|
|
|
hg clone http://hg.logilab.org/logilab/common
|
2013-04-06 19:45:15 +00:00
|
|
|
|
|
|
|
.. _mercurial: http://www.selenic.com/mercurial/
|
|
|
|
|
2013-04-29 13:31:03 +00:00
|
|
|
Got a change for Pylint? There a few steps you must take to make sure your
|
2013-04-06 19:45:15 +00:00
|
|
|
patch gets accepted.
|
|
|
|
|
2013-04-29 13:31:03 +00:00
|
|
|
- Test your code
|
2013-04-17 08:33:52 +00:00
|
|
|
|
2013-04-29 13:31:03 +00:00
|
|
|
- Pylint keeps a set of unit tests in the /test directory. To get your
|
2013-04-06 19:45:15 +00:00
|
|
|
patch accepted you must write (or change) a test input file and message
|
|
|
|
file in the appropriate input and messages folders.
|
2013-04-17 08:33:52 +00:00
|
|
|
|
2013-04-29 13:31:03 +00:00
|
|
|
- In the test folder of Pylint run ``./fulltest.sh <python versions>``, make sure
|
2013-04-06 19:45:15 +00:00
|
|
|
all tests pass before submitting a patch
|
|
|
|
|
2013-04-29 13:31:03 +00:00
|
|
|
- Add an short entry to the ChangeLog describing the change
|
2013-04-17 08:33:52 +00:00
|
|
|
|
2013-04-29 13:31:03 +00:00
|
|
|
- Write a comprehensive commit message
|
2013-04-17 08:33:52 +00:00
|
|
|
|
2013-04-29 13:31:03 +00:00
|
|
|
- Relate your change to an issue in the tracker
|
2013-04-06 19:45:15 +00:00
|
|
|
|
2013-04-29 13:31:03 +00:00
|
|
|
- Send a pull request from bitbucket
|