Edgewall Software

Changes between Version 30 and Version 31 of TracDev/CodingStyle


Ignore:
Timestamp:
Dec 19, 2015, 11:45:09 PM (8 years ago)
Author:
Ryan J Ollos
Comment:

See discussion in gmessage:trac-dev:Rxqr-4Y0fTU/fVAXWv0EB64J.

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/CodingStyle

    v30 v31  
    88
    99Like most Python projects, we adhere to [pep:0008 PEP 8 (Style Guide for Python Code)] and [pep:0257 PEP 257 (Docstring Conventions)]. Be sure to read those documents if you intend to contribute code to Trac.
     10
     11Starting with version 1.3.1 the codebase should be compatible with Python 2 and 3, specifically Python 2.7 and Python 3.3+. The [https://docs.djangoproject.com/en/dev/topics/python3/ Django Python 2/3 guidelines] should be followed.
    1012
    1113Note that some of the current Trac code could violate coding style rules. We are always in the process of refactoring the offending modules so that all code adheres to the conventions.