-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #92 from secynic/dev
0.11.2
- Loading branch information
Showing
19 changed files
with
222 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
# Build file | ||
language: python | ||
python: | ||
- 3.5 | ||
- 3.4 | ||
- 3.3 | ||
- 2.7 | ||
- 2.6 | ||
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors | ||
- 2.7 | ||
- 3.3 | ||
- 3.4 | ||
- 3.5 | ||
install: | ||
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then pip install -r requirements/python2.txt --use-mirrors; fi | ||
- if [[ $TRAVIS_PYTHON_VERSION == 3.3* ]]; then pip install -r requirements/python3.txt --use-mirrors; fi | ||
- if [[ $TRAVIS_PYTHON_VERSION == 3.4* ]]; then pip install -r requirements/python3.txt --use-mirrors; fi | ||
- if [[ $TRAVIS_PYTHON_VERSION == 3.5* ]]; then pip install -r requirements/python3.txt; fi | ||
- python setup.py -q install | ||
# command to run tests, e.g. python setup.py test | ||
script: | ||
- nosetests -v -w ipwhois | ||
|
||
- nosetests -v -w ipwhois |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
============ | ||
Contributing | ||
============ | ||
|
||
**************** | ||
Issue submission | ||
**************** | ||
|
||
| Issues are tracked on GitHub: | ||
| https://github.com/secynic/ipwhois/issues | ||
|
||
Follow the guidelines detailed in the appropriate section below. As a general | ||
rule of thumb, provide as much information as possible when submitting issues. | ||
|
||
Bug reports | ||
=========== | ||
|
||
- Title should be a short, descriptive summary of the bug | ||
- Include the Python and ipwhois versions affected | ||
- Provide a context (with code example) in the description of your issue. What | ||
are you attempting to do? | ||
- Include the full obfuscated output. Make sure to set DEBUG logging: | ||
:: | ||
|
||
import logging | ||
LOG_FORMAT = ('[%(asctime)s] [%(levelname)s] [%(filename)s:%(lineno)s] ' | ||
'[%(funcName)s()] %(message)s') | ||
logging.basicConfig(level=logging.DEBUG, format=LOG_FORMAT) | ||
- Include sources of information with links or screenshots | ||
- Do you have a suggestion on how to fix the bug? | ||
|
||
Feature Requests | ||
================ | ||
|
||
- Title should be a short, descriptive summary of the feature requested | ||
- Provide use case examples | ||
- Include sources of information with links or screenshots | ||
- Do you have a suggestion on how to implement the feature? | ||
|
||
Questions | ||
========= | ||
|
||
I am happy to answer any questions and provide assistance where possible. | ||
Please be clear and concise. Provide examples when possible. Check the | ||
ipwhois `documentation <https://secynic.github.io/ipwhois>`_ and the | ||
`issue tracker <https://github.com/secynic/ipwhois/issues>`_ before asking a | ||
question. | ||
|
||
************* | ||
Pull Requests | ||
************* | ||
|
||
What to include | ||
=============== | ||
|
||
Aside from the core code changes, it is helpful to provide the following | ||
(where applicable): | ||
|
||
- Unit tests | ||
- Examples | ||
- Sphinx configuration changes in /data | ||
- Requirements (python2.txt, python3.txt) | ||
|
||
Guidelines | ||
========== | ||
|
||
- Title should be a short, descriptive summary of the changes | ||
- Follow `PEP 8 <https://www.python.org/dev/peps/pep-0008/>`_ where possible. | ||
- Follow the `Google docstring style guide | ||
<https://google.github.io/styleguide/pyguide.html#Comments>`_ for | ||
comments | ||
- Must be compatible with Python 2.6, 2.7, and 3.3+ | ||
- Break out reusable code to functions | ||
- Make your code easy to read and comment where necessary | ||
- Reference the GitHub issue number in the description (e.g., Issue #01) | ||
- When running nosetests, make sure to add the following arguments: | ||
:: | ||
|
||
--verbosity=3 --nologcapture --include=online --cover-erase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.. include:: ../../../CONTRIBUTING.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.