Commit Graph

467 Commits

Author SHA1 Message Date
Mark Mentovai
305ac8725a
Hide “This site is open source. Improve this page.” footer
This hides the message shown at the bottom of pages served from
https://google.github.io/styleguide.
2020-02-28 11:03:30 -05:00
Mike Frysinger
250bd6a4b0
Merge pull request #534 from google/change_HEAD
Project import generated by Copybara.
2020-02-27 18:21:26 -05:00
Mike Frysinger
7c26f834f9 Project import generated by Copybara.
PiperOrigin-RevId: 297665437
2020-02-27 18:18:58 -05:00
Gregory P. Smith
056962e73a
Working out the useless else disables (#526 from dseomn copybara)
Project import generated by Copybara.
2020-02-20 16:13:54 -08:00
Google Python team
8cf92f8fb8 Project import generated by Copybara.
PiperOrigin-RevId: 296280631
2020-02-20 17:50:37 -05:00
Isaac Good
bb1169c19f
Merge pull request #525 from google/change_HEAD
Project import generated by Copybara.
2020-02-19 15:28:47 -08:00
Isaac Good
546ea3979d Project import generated by Copybara.
PiperOrigin-RevId: 296049105
2020-02-19 15:26:16 -08:00
Isaac Good
2497bbd092
Merge pull request #523 from google/shell_redirect
Add shell style sheet with redirect
2020-02-18 16:30:32 -08:00
Isaac Good
c6a4f62edd Add shell style sheet with redirect 2020-02-18 16:29:47 -08:00
Isaac Good
246573051e
Merge pull request #522 from google/shell_redirect
Add an HTML META tag to redirect to the new shell guide.
2020-02-18 16:25:56 -08:00
Isaac Good
7ec72be27f Add an HTML>HEADER>META tag to redirect from the old to the new shell guide 2020-02-17 12:30:45 -08:00
Isaac Good
e25d7f648c
Merge pull request #521 from google/shell_xml_typo
Fix another typo in shell.xml
2020-02-16 10:59:47 -08:00
Isaac Good
d0d3f702e7 Fix another typo 2020-02-16 10:59:17 -08:00
Isaac Good
f77197ad80
Merge pull request #520 from google/shell_xml_type
Fix a typo in shell.xml
2020-02-16 10:57:02 -08:00
Isaac Good
bf3f09ecac Fix a typo 2020-02-16 10:56:35 -08:00
Isaac Good
4ab4d1a9b8
Merge pull request #519 from google/fix_xml
Put GUIDE tags back into shell.xml
2020-02-16 10:53:41 -08:00
Isaac Good
42720eba37 Put GUIDE tags back in 2020-02-16 10:52:48 -08:00
Isaac Good
7ffcd1507a
Merge pull request #518 from google/drop_shell_xml
Redirect shell.xml to shellguide.html
2020-02-16 10:49:35 -08:00
Isaac Good
a0977d2214 Redirect shell.xml to shellguide.html 2020-02-16 10:47:56 -08:00
Gregory P. Smith
64bd672b61
Merge PR #517 from dseomn/copybara/push-794069ec-7832-47ca-b639-2e42a9314697-dryrun
Updates our example pylintrc.
2020-02-15 13:47:19 -08:00
Google Python team
6fc736fc7c Project import generated by Copybara.
PiperOrigin-RevId: 295255546
2020-02-14 21:10:18 -05:00
Isaac Good
29be9f76a1
Merge pull request #516 from google/change_HEAD
Project import generated by Copybara. Fix a broken function definition.
2020-02-13 11:36:17 -08:00
Isaac Good
71c0c58c52 Project import generated by Copybara.
PiperOrigin-RevId: 294961751
2020-02-13 11:35:35 -08:00
Isaac Good
3db177a2d0 Link to the new HTML version of the shell guide 2020-02-13 11:08:47 -08:00
Isaac Good
6f6aebad0a
Merge pull request #515 from google/change_HEAD
Update the TOC. Project import generated by Copybara.
2020-02-13 11:05:16 -08:00
Isaac Good
245445c9f6 Project import generated by Copybara.
PiperOrigin-RevId: 294952612
2020-02-13 11:03:14 -08:00
Isaac Good
d9e72e63a9
Merge pull request #514 from google/change_HEAD
Project import generated by Copybara.
2020-02-11 11:25:26 -08:00
Isaac Good
44efb0f2bc Project import generated by Copybara.
PiperOrigin-RevId: 294481094
2020-02-11 11:25:02 -08:00
Isaac Good
f13659ba4f
Merge pull request #513 from google/change_HEAD
Update the TOC. Imported by Copybara.
2020-02-11 11:15:24 -08:00
Isaac Good
af7f6aa63f Project import generated by Copybara.
PiperOrigin-RevId: 294477904
2020-02-11 11:12:33 -08:00
Isaac Good
123a0b935d
Merge pull request #512 from google/change_HEAD
Import the reformatted Shell Style Guide.
Project import generated by Copybara.
2020-02-11 10:23:16 -08:00
Isaac Good
7198b5632f Project import generated by Copybara.
PiperOrigin-RevId: 294295956
2020-02-11 10:21:36 -08:00
Gregory P. Smith
a954ea03be
Update the example pylint configuration. [GH-510]
Updates the example pylint configuration file for the Python style guide to be derived from an internally maintained config.

Project import generated by Copybara.
2020-02-10 14:14:09 -08:00
Google Python team
bc5a7f0eb0 Project import generated by Copybara.
PiperOrigin-RevId: 294287632
2020-02-10 14:09:36 -08:00
Gregory P. Smith
4a06fcb1c7
Link to the Swift style guide.
Update README.md

Merges pull request #423 from darhonbek/patch-1
2020-01-15 09:26:19 -08:00
Gregory P. Smith
7a07bd47d6
Merge pull request #502 from QuantumDecaydev/pylintrc
A pylint configuration for our OSS Python Style.
2020-01-12 19:13:28 -08:00
Gregory P. Smith
42c441f411
Merge pull request #501 from oQuantumDecayo/change_HEAD
Project import generated by Copybara.
  modernization -> xrange becomes range
  adds a `= {}` negative example to default arguments.
2020-01-12 19:12:47 -08:00
David Mandelberg
f704c352f4 Add an Apache 2.0 license file. 2020-01-02 15:34:31 -08:00
Google Python team
b88c6a1b42 Project import generated by Copybara.
PiperOrigin-RevId: 287589810
2019-12-30 13:53:39 -08:00
Google Python team
232b61ac26 Project import generated by Copybara.
PiperOrigin-RevId: 281409161
2019-11-25 10:44:28 -08:00
Alex Light
26470f9ccb Add support for c++17 tuple destructuring (#487)
C++17 adds support for tuple destructuring. This allow one to write
code such as:

```
std::pair<int, int> span = getSpan();
auto [start, end] = span;

// Use start as span.first and end as span.second
```

This makes cpplint recognize and allow a space before the '[' in this
situation.

This is a purposeful divergence from the internal version where the
entire whitespace/braces category was removed. It was decided to leave
the checks in since this is sometimes used without other formatting
tools.

Test: manual
2019-11-19 12:52:07 -05:00
Google Python team
83a9e8d7ca Project import generated by Copybara.
PiperOrigin-RevId: 273904189
2019-10-11 09:25:02 -07:00
Tony Ruscoe
a940c9b4c7
Merge pull request #478 from amanvell/patch-1
Spelling mistake
2019-10-08 10:19:02 +01:00
Tony Ruscoe
55b15d1b95
Merge pull request #479 from amanvell/patch-2
Minor spelling/grammar correction
2019-10-08 10:13:52 +01:00
amanvell
041a167880
Minor spelling/grammar correction 2019-10-08 20:05:44 +11:00
amanvell
257e420170
Spelling mistake
Minor spelling mistake
2019-10-08 20:00:23 +11:00
Titus Winters
5651966e02
Merge pull request #471 from pwnall/update_cpp
Update C++ style guide for C++17
2019-09-10 07:05:13 -04:00
Victor Costan
967e157a00 Update C++ style guide for C++17. 2019-09-05 05:09:38 -07:00
Titus Winters
c89900f721
Merge pull request #468 from pwnall/update_cpp
Update C++ style guide
2019-09-04 06:55:30 -04:00
Victor Costan
f0314ea7e0 Update C++ style guide. 2019-09-01 21:07:27 -07:00