mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
The main motivation for this is to get python loads in using the `native-py` lint fix. However, enabling that made me wonder, maybe we should fix in general? `native-cc` is delayed, but not wholly cancelled (and `native-py` picking up might indicate `native-cc` won't be too far behind). There's also some automated fixes for `.append` and dict sorting -- this felt okay to me, maybe not something to eagerly add but probably not worth stopping buildifier from fixing (I've noticed the warnings in the past and had been ignoring them). Running everything does mean that load orders are sorted automatically now, which I think is a positive. Most generally, I think these fixes aren't _harmful_, and having them done automatically seems beneficial: my biggest concern about `native-py` and `native-cc` was actually that regressions wouldn't be caught, but this addresses that issue automatically.
Third-party
The /third_party directory is for any code that doesn't follow Carbon's normal
contribution rules, and thus requires special care. The intent is that code
not under /third_party should not require special contribution rules.
Examples of code belonging under /third_party include:
- Code not licensed under the standard Apache-2.0 WITH LLVM-exception license.
- Code which is maintained externally or imported from another repository.
- Code which is not fully under Carbon's CLA.