Changes between Version 30 and Version 31 of TracDev/CodingStyle
- Timestamp:
- Dec 19, 2015, 11:45:09 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/CodingStyle
v30 v31 8 8 9 9 Like 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 11 Starting 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. 10 12 11 13 Note 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.