diff options
author | 2017-12-19 04:35:01 -0800 | |
---|---|---|
committer | 2017-12-19 04:37:06 -0800 | |
commit | 7f86d4a34bbd76295b8753ffc2740e43aa228fc2 (patch) | |
tree | 4fe3b6e23b972733f981b7e592c471f50124fe0a /site/docs/skylark/cookbook.md | |
parent | 173cae708cc667ef1353b5e65c3b7a62757e5f97 (diff) |
Skylint: Add a warning for the `+` operator on depsets.
In many cases, users do:
d = depset()
d += ...
To catch this issue, we use a heuristic to find which variable is a depset
(in theory, it could be reassigned - but it's unlikely and that would be
error-prone anyway)
RELNOTES: None.
PiperOrigin-RevId: 179536463
Diffstat (limited to 'site/docs/skylark/cookbook.md')
0 files changed, 0 insertions, 0 deletions