Commit Graph

494 Commits

Author SHA1 Message Date
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
rebekahpotter
dceb47fb3e Update JS styleguide (#464)
Update JS styleguide

Closes #462.
2019-08-26 23:45:13 -04:00
Tony Ruscoe
5beae3f4da
Redirect google-r-style.html to RGuide.html
Also fix a couple of issues.
2019-08-07 08:58:29 +01:00
Tony Ruscoe
9dcd80e201
Redirect to the HTML version of the R Style Guide 2019-08-07 08:53:53 +01:00
Tony Ruscoe
6a54530590
Link to the HTML version of the new R Style Guide 2019-08-07 08:52:51 +01:00
Tony Ruscoe
1140681752
Create redirect for Rguide.xml to Rguide.md
#459 replaced the R style guide and removed Rguide.xml, but we need this file to prevent broken links.
2019-08-07 08:25:25 +01:00
Tony Ruscoe
08962b172b
Merge pull request #459 from michaelquinn32/r-guide-update
Replace external R style guide
2019-08-07 08:12:38 +01:00
Michael Quinn
cee8f1a722 Replace external R style guide
Internally, we've moved to the Tidyverse Style Guide: style.tidyverse.org
The new file for Rguide.md reflects this fact and notes where we differ.
2019-07-17 21:28:05 -07:00
Tony Ruscoe
9c6b371f41
Increase indentation for type attribute examples
The HTML Line-wrapping recommendation is to use four additional spaces when wrapping HTML, yet the “Not recommended” examples for the `type` attribute rule were using two spaces.
2019-04-23 08:48:28 +01:00
Tony Ruscoe
00f3e84585
Merge pull request #448 from coliff/patch-1
update jQuery version in example
2019-04-17 11:50:04 +01:00
Christian Oliff
19835af7b1
update jQuery version in example
I know it's only an example, but best to have the most recent version here which doesn't have a known security vulneability.
2019-04-17 16:59:48 +09:00
Tony Ruscoe
91d6e367e3
Merge pull request #439 from clingeric/patch-1
Removed RAS (redundant acronym syndrome) syndrome
2019-02-22 14:39:42 +00:00
Eric Clinger
967ca824e3
Removed RAS (redundant acronym syndrome) syndrome
References to HTTPS and HTTP were written as HTTPS protocol (Hypertext Transfer Protocol Secure protocol) and HTTP protocol (Hypertext Transfer Protocol protocol) which is redundant.
2019-02-21 18:32:43 -07:00
Darkhonbek
a9fe780f3e
Update README.md
Add Swift Style Guide link.
2018-12-18 22:14:46 +05:00
Google Python team
6271f3f473 Project import generated by Copybara.
PiperOrigin-RevId: 224224079
2018-12-05 14:43:27 -08:00
Google Python team
fdc20e8645 Project import generated by Copybara.
PiperOrigin-RevId: 223189743
2018-11-28 13:50:31 -08:00
Gregory P. Smith
9f41862c0e
Replace the old pyguide.html with markdown.
Github pages sees pyguide.html and renders the markdown via that url when no actual .html file is present in the repo.
2018-11-19 10:07:38 -08:00
Google Python team
5b06d2d794 Project import generated by Copybara.
PiperOrigin-RevId: 222009069
2018-11-19 09:57:34 -08:00
Google Python team
ad22a7536d Project import generated by Copybara.
PiperOrigin-RevId: 221622606
2018-11-16 10:55:42 -08:00
Wan Liuyang
3d0116e5d5
Update pyguide link README 2018-09-11 23:36:07 +08:00
Wan Liuyang
fae6626ee0
Delete pyguide.html 2018-09-11 21:00:24 +08:00
Kevin Lindkvist
d3881b4fa9
Merge pull request #390 from google/update-objc
[objc] Update the Objective-C style guide 📜
2018-08-22 13:41:11 -07:00
Stephane Moore
a7fc1ef687 [objc] Update the Objective-C style guide 📜 2018-08-17 18:47:57 -07:00
Titus Winters
2b57aa557b
Merge pull request #389 from manshreck/gh-pages
Add horizontal TOC back into style guide
2018-08-15 10:32:36 -04:00