commit | 35453ba04a72955dece913d035c296632acf0825 | [log] [tgz] |
---|---|---|
author | Kai Ninomiya <kainino@chromium.org> | Mon Apr 28 15:23:36 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Apr 28 15:23:36 2025 -0700 |
tree | 96b938a04abe4929d1bc650571e7c91862ed6cd3 | |
parent | 6faeb666e007a885fb89968a651c4ecd888b215a [diff] |
Make git-cl not need --python to format Python Turns out we don't need to type git cl format --python every time. If we add a .style.yapf file, it will do it by default. Quoth `git cl format --help`: > If neither --python or --no-python are set, python files that have a > .style.yapf file in an ancestor directory will be formatted. Remove check_python=True from PRESUBMIT.py to make it do the same - and suggest `git cl format` instead of `git cl format --python` when running presubmit checks (during `git cl upload` or `git cl presubmit`). Quoth `presubmit_canned_checks.py`: > Explicitly setting check_python to will enable/disable python formatting > on all files. Leaving it as None will enable checking patch formatting > on files that have a .style.yapf file in a parent directory. Verified on at least one Python file this doesn't change the formatting results, so it seems to be the same as the default configuration. Bug: none Change-Id: Ia22f783b30181bed54933c732749a9837837bac2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/239455 Auto-Submit: Kai Ninomiya <kainino@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Dawn is an open-source and cross-platform implementation of the WebGPU standard. More precisely it implements webgpu.h
that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.