mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
Update CODING guidelines
- Remove reference to Python 2
This commit is contained in:
parent
9b0702c546
commit
6c75624814
@ -120,10 +120,9 @@ std::map<std::string, std::string> bar =
|
||||
|
||||
## Python-specific Guidelines
|
||||
|
||||
* Keep Python code compatible with Py2k and Py3k. There are plenty of tools to
|
||||
aid with this, such as `futurize`.
|
||||
* Follow the suggestions in [PEP8][Pep8]
|
||||
and [PEP257][Pep257]. The former is about
|
||||
* Starting with UHD 4.0, Python 2 is no longer supported, and we don't need to
|
||||
accommodate for it any longer. Prefer Python 3 constructs.
|
||||
* Follow the suggestions in [PEP8][Pep8] and [PEP257][Pep257]. The former is about
|
||||
code layout in general, the latter about docstrings.
|
||||
* Pylint is good tool for helping with following code guidelines. It's very
|
||||
fussy though, so don't get too worked up about following its suggestions.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user