Skip to content

Commit

Permalink
DOC: Update contributing document for Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
kjordahl committed Apr 16, 2014
1 parent 70f9377 commit 8fbbbb1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,19 @@ is a great way to get started if you'd like to make a contribution.
Style
-----

- GeoPandas supports python 2 (2.6+) and python 3 (3.2+) with a single
code base. Use modern python idioms when possible that are
compatibile with both major versions, and use the
[six](https://pythonhosted.org/six) library where helpful to smooth
over the differences. Use `from __future__ import` statements where
appropriate. Test code locally in both python 2 and python 3 when
possible (all supported versions will be automatically tested on
Travis CI).

- Follow PEP 8 when possible.

- Imports should be grouped with standard library imports first,
3rd-party libraries next, and geopandas imports third. Within each
grouping, imports should be alphabetized. Always use absolute
imports rather than relative imports.
imports when possible, and explicit relative imports for local
imports when necessary in tests.

0 comments on commit 8fbbbb1

Please sign in to comment.