Age | Commit message (Collapse) | Author |
|
Github pages sees pyguide.html and renders the markdown via that url when no actual .html file is present in the repo.
|
|
PiperOrigin-RevId: 222009069
|
|
PiperOrigin-RevId: 221622606
|
|
|
|
|
|
[objc] Update the Objective-C style guide 📜
|
|
|
|
Add horizontal TOC back into style guide
|
|
|
|
Update C++ style guide
|
|
|
|
Merge pull request #373 from leVirve/gh-pages.
internally copybara was leaving extra space in a bad spot while stripping a comment. fixed the internal version to not do this and produce the same output this PR has.
|
|
|
|
Link to the maintained pyguide.md, not old html.
|
|
pyguide.html is unmaintained and has been for ~5 years. pyguide.md
is reasonably up to date and we have the ability to keep it up to
date from our internal guide. Link to that instead.
I'd like to delete the old pyguide.html but a lot of things still
point directly at it so they at least have somewhere to land for
the time being.
|
|
|
|
Fix a typo in cpplint
|
|
s/seperated/separated
|
|
Merges pull request #344 from Johan-Dahlberg/fix_root_debug
thanks!
|
|
|
|
On UCS-2 builds of Python 2.7-3.2, handle low surrogate characters.
|
|
|
|
Fix markdown subheadings not rendering in pyguide.md
|
|
|
|
Define xrange() for Python 3. I is only used on for loops so this is safe.
|
|
|
|
|
|
flake8 testing of https://github.com/google/styleguide on Python 3.6.3
$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./cpplint/cpplint.py:1526:12: F821 undefined name 'xrange'
for i in xrange(startpos, len(line)):
^
./cpplint/cpplint.py:1755:15: F821 undefined name 'xrange'
for line in xrange(1, min(len(lines), 11)):
^
./cpplint/cpplint.py:1957:12: F821 undefined name 'xrange'
for i in xrange(1, len(raw_lines) - 1):
^
./cpplint/cpplint.py:2298:14: F821 undefined name 'xrange'
for i in xrange(linenum - 1, self.starting_linenum, -1):
^
./cpplint/cpplint.py:3080:26: F821 undefined name 'xrange'
for start_linenum in xrange(linenum, clean_lines.NumLines()):
^
./cpplint/cpplint.py:3537:14: F821 undefined name 'xrange'
for i in xrange(first_line, last_line + 1, 1):
^
./cpplint/cpplint.py:3601:19: F821 undefined name 'xrange'
for offset in xrange(endlinenum + 1,
^
./cpplint/cpplint.py:4155:14: F821 undefined name 'xrange'
for i in xrange(linenum + 1, end_line):
^
./cpplint/cpplint.py:4283:23: F821 undefined name 'unicode'
if isinstance(line, unicode):
^
./cpplint/cpplint.py:4928:12: F821 undefined name 'xrange'
for i in xrange(linenum, max(-1, linenum - 10), -1):
^
./cpplint/cpplint.py:4949:12: F821 undefined name 'xrange'
for i in xrange(linenum, max(-1, linenum - 10), -1):
^
./cpplint/cpplint.py:4965:12: F821 undefined name 'xrange'
for i in xrange(linenum, 1, -1):
^
./cpplint/cpplint.py:5066:20: F821 undefined name 'xrange'
for i in xrange(startline, linenum + 1):
^
./cpplint/cpplint.py:5090:14: F821 undefined name 'xrange'
for i in xrange(linenum - 1, max(0, linenum - 10), -1):
^
./cpplint/cpplint.py:5121:14: F821 undefined name 'xrange'
for i in xrange(2):
^
./cpplint/cpplint.py:5284:14: F821 undefined name 'xrange'
for i in xrange(linenum - 1, max(0, linenum - 5), -1):
^
./cpplint/cpplint.py:5503:18: F821 undefined name 'xrange'
for linenum in xrange(clean_lines.NumLines()):
^
./cpplint/cpplint.py:5639:21: F821 undefined name 'xrange'
for start_line in xrange(linenum, min(linenum + 3, clean_lines.NumLines())):
^
./cpplint/cpplint.py:5654:12: F821 undefined name 'xrange'
for i in xrange(end_line, min(end_line + 3, clean_lines.NumLines())):
^
./cpplint/cpplint.py:5911:15: F821 undefined name 'xrange'
for line in xrange(clean_lines.NumLines()):
^
```
|
|
Minor updates to C++ style guide.
|
|
|
|
Update C++ styleguide to revision 3.277
|
|
|
|
PiperOrigin-RevId: 184571980
|
|
This reverts commit 54cca78d64e44b1c4290f4d0fed6a5e494116808.
|
|
PiperOrigin-RevId: 179577576
|
|
am: 17eb825388
Change-Id: I2fd899fcb7d54faa11924065f466ed1f0e5550a0
|
|
0622f2c7dc am: 641d798005
am: 0ad6309bb5
Change-Id: Idb749b4479cc7049749ef3bc1660d2dce2b51d1d
|
|
53e44a8ca1 am: 84d070c476
am: 6784ec39c9
Change-Id: Ib6375ce559840cbc502c6517b251bd2c7c23c559
|
|
am: 333e3bc131
Change-Id: Ibca0b8f278caf3911141f0248fc58310c35cff11
|
|
0622f2c7dc
am: 641d798005
Change-Id: I266a19ae46cc4af13fb888dc8ae80ba4340bb331
|
|
am: 84d070c476
Change-Id: Ib655f77fc55f7ed39bd350dbf9620247097458e8
|
|
am: b397128e82
Change-Id: Iaf6ca261ce1e87f78b8b45c653322228858ed6b2
|
|
am: 0622f2c7dc
Change-Id: Iee24660807fdd80b484d25614ce69d1fe8eb8d7e
|
|
am: 53e44a8ca1
Change-Id: I619a90c50b1f5bea15832e067fdd01425e18af24
|
|
Update HTML/CSS style guide
|
|
* Add an optional line-wrapping recommendation.
* Update links to the WHATWG HTML spec which were redirecting.
* Minor content and markup edits.
|
|
Removing empty <pre> tags
|
|
cpplint.py is BSD licensed, everything else is CC-by-3.0 licensed.
Bug: 69320067
Bug: 68951293
Change-Id: I7bd40c561430d597bf69a358d2a1e634a40eed38
|
|
|
|
Bug: 68951293
Change-Id: I5b61c58c90caeb373b2e50466db08da2584998ce
|