Changes between Version 34 and Version 35 of TracDev/CodingStyle
- Timestamp:
- Sep 8, 2017, 1:01:52 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/CodingStyle
v34 v35 12 12 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. 13 13 14 Starting with version 1.5.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/1.11/topics/python3/ Django Python 2/3 guidelines] should be followed.14 Starting with version 1.5.1 the codebase should be compatible with Python 2 and 3, specifically Python 2.7 and Python 3.5+. The [https://docs.djangoproject.com/en/1.11/topics/python3/ Django Python 2/3 guidelines] should be followed. 15 15 16 16 Note that some of the current Trac code violates coding style rules. We are always in the process of refactoring the offending modules so that all code adheres to the conventions.