From 609aa80d31411045e915b4a3166e0290289ef40d Mon Sep 17 00:00:00 2001 From: Pavol Juhas Date: Wed, 22 May 2024 15:36:46 -0700 Subject: [PATCH] Proper text files end with a newline character Fix yamllint error. Fix other text files once I am at it. No change in source function. --- .github/ISSUE_TEMPLATE/feature_request.md | 2 +- .github/ISSUE_TEMPLATE/task.md | 4 ++-- CODE_OF_CONDUCT.md | 2 +- benchmarks/README.md | 2 +- cirq-aqt/requirements.txt | 2 +- cirq-google/cirq_google/api/v2/program.proto | 2 +- cirq-google/cirq_google/devices/specifications/README.md | 2 +- cirq-google/version_policy.md | 2 +- cirq-ionq/requirements.txt | 2 +- cirq-pasqal/requirements.txt | 2 +- cirq-web/cirq_ts/.eslintignore | 2 +- cirq-web/cirq_ts/dist/html/bloch_sphere.html | 2 +- cirq-web/cirq_ts/dist/html/circuit.html | 2 +- dev_tools/modules_test_data/mod1/requirements.txt | 2 +- dev_tools/pr_monitor/Dockerfile | 2 +- dev_tools/pr_monitor/cloudbuild-deploy.yaml | 2 +- dev_tools/pr_monitor/requirements.txt | 2 +- dev_tools/pr_monitor/statefulset.yaml | 2 +- dev_tools/requirements/isolated-base.env.txt | 2 +- dev_tools/requirements/mypy.env.txt | 2 +- dev_tools/requirements/no-contrib.env.txt | 2 +- dev_tools/requirements/test_data/b.req.txt | 2 +- dev_tools/requirements/test_data/sub/c.req.txt | 2 +- dev_tools/triage-party/cloudbuild-deploy.yaml | 2 +- dev_tools/triage-party/kubernetes/01_ns/namespace.yaml | 2 +- .../triage-party/kubernetes/02_deployment/configmap.yaml | 2 +- docs/simulate/_index.yaml | 2 +- 27 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 5cb38c69b2d..c36d9612598 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -27,4 +27,4 @@ P1 - I need this no later than the next release (end of quarter) P2 - we should do it in the next couple of quarters P3 - I'm not really blocked by it, it is an idea I'd like to discuss / suggestion based on principle - \ No newline at end of file + diff --git a/.github/ISSUE_TEMPLATE/task.md b/.github/ISSUE_TEMPLATE/task.md index 0c82289bfae..ff471b796bf 100644 --- a/.github/ISSUE_TEMPLATE/task.md +++ b/.github/ISSUE_TEMPLATE/task.md @@ -1,6 +1,6 @@ --- name: Project task -about: Task to track larger efforts +about: Task to track larger efforts title: '' labels: 'kind/task' assignees: '' @@ -16,4 +16,4 @@ assignees: '' **Related** -Related issues: #abc, #xyz, ... \ No newline at end of file +Related issues: #abc, #xyz, ... diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 6e59559f076..285cfc30e6a 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -89,4 +89,4 @@ harassment or threats to anyone's safety, we may take action without notice. This Code of Conduct is adapted from the Contributor Covenant, version 1.4, available at -https://www.contributor-covenant.org/version/1/4/code-of-conduct.html \ No newline at end of file +https://www.contributor-covenant.org/version/1/4/code-of-conduct.html diff --git a/benchmarks/README.md b/benchmarks/README.md index 0e9ef527d5f..81620a7f5f1 100644 --- a/benchmarks/README.md +++ b/benchmarks/README.md @@ -19,4 +19,4 @@ You can also pass arguments to the script, which would be forwarded to the `asv Please refer [Running Benchmarks guide by ASV](https://asv.readthedocs.io/en/stable/using.html#running-benchmarks) for more information. ## Results Database -TODO([#3838](https://github.com/quantumlib/Cirq/issues/3838)): Add details regarding GCP setup. \ No newline at end of file +TODO([#3838](https://github.com/quantumlib/Cirq/issues/3838)): Add details regarding GCP setup. diff --git a/cirq-aqt/requirements.txt b/cirq-aqt/requirements.txt index 3d368bb39ab..fde7fb282cf 100644 --- a/cirq-aqt/requirements.txt +++ b/cirq-aqt/requirements.txt @@ -1 +1 @@ -requests~=2.18 \ No newline at end of file +requests~=2.18 diff --git a/cirq-google/cirq_google/api/v2/program.proto b/cirq-google/cirq_google/api/v2/program.proto index a1ca71ace36..f493fdcca4f 100644 --- a/cirq-google/cirq_google/api/v2/program.proto +++ b/cirq-google/cirq_google/api/v2/program.proto @@ -462,4 +462,4 @@ message IdentityGate { message HPowGate { FloatArg exponent = 1; -} \ No newline at end of file +} diff --git a/cirq-google/cirq_google/devices/specifications/README.md b/cirq-google/cirq_google/devices/specifications/README.md index e721c354a98..f83f41b5ed7 100644 --- a/cirq-google/cirq_google/devices/specifications/README.md +++ b/cirq-google/cirq_google/devices/specifications/README.md @@ -3,4 +3,4 @@ This directory contains snapshots of `DeviceSpecification` proto messages Files with the suffix `_for_grid_device` are equivalent representations of corresponding proto files without the suffix, but in the new `DeviceSpecification` format which is parsed into -`cirq_google.GridDevice`. \ No newline at end of file +`cirq_google.GridDevice`. diff --git a/cirq-google/version_policy.md b/cirq-google/version_policy.md index d895648a5e8..ceaa18ffa37 100644 --- a/cirq-google/version_policy.md +++ b/cirq-google/version_policy.md @@ -1,3 +1,3 @@ # cirq-google Version Policy -The `cirq-google` directory should abide by Semantic Versioning 2.0.0. In rare cases, we may introduce backward-incompatible changes to the public API in a release with a minor version increment. Such changes will be noted in `CHANGELOG.md` within the directory before the release. \ No newline at end of file +The `cirq-google` directory should abide by Semantic Versioning 2.0.0. In rare cases, we may introduce backward-incompatible changes to the public API in a release with a minor version increment. Such changes will be noted in `CHANGELOG.md` within the directory before the release. diff --git a/cirq-ionq/requirements.txt b/cirq-ionq/requirements.txt index 3d368bb39ab..fde7fb282cf 100644 --- a/cirq-ionq/requirements.txt +++ b/cirq-ionq/requirements.txt @@ -1 +1 @@ -requests~=2.18 \ No newline at end of file +requests~=2.18 diff --git a/cirq-pasqal/requirements.txt b/cirq-pasqal/requirements.txt index 3d368bb39ab..fde7fb282cf 100644 --- a/cirq-pasqal/requirements.txt +++ b/cirq-pasqal/requirements.txt @@ -1 +1 @@ -requests~=2.18 \ No newline at end of file +requests~=2.18 diff --git a/cirq-web/cirq_ts/.eslintignore b/cirq-web/cirq_ts/.eslintignore index 44a6b377c00..04c4ece1827 100644 --- a/cirq-web/cirq_ts/.eslintignore +++ b/cirq-web/cirq_ts/.eslintignore @@ -1,3 +1,3 @@ build/ **/node_modules -**/dist \ No newline at end of file +**/dist diff --git a/cirq-web/cirq_ts/dist/html/bloch_sphere.html b/cirq-web/cirq_ts/dist/html/bloch_sphere.html index b1c518e4d68..5970f220e0f 100644 --- a/cirq-web/cirq_ts/dist/html/bloch_sphere.html +++ b/cirq-web/cirq_ts/dist/html/bloch_sphere.html @@ -11,4 +11,4 @@ .addVector(1, 0, 0); - \ No newline at end of file + diff --git a/cirq-web/cirq_ts/dist/html/circuit.html b/cirq-web/cirq_ts/dist/html/circuit.html index c1d98bf841f..eac8452d050 100644 --- a/cirq-web/cirq_ts/dist/html/circuit.html +++ b/cirq-web/cirq_ts/dist/html/circuit.html @@ -26,4 +26,4 @@ }); - \ No newline at end of file + diff --git a/dev_tools/modules_test_data/mod1/requirements.txt b/dev_tools/modules_test_data/mod1/requirements.txt index d1e14c5287d..a722fa18215 100644 --- a/dev_tools/modules_test_data/mod1/requirements.txt +++ b/dev_tools/modules_test_data/mod1/requirements.txt @@ -1,2 +1,2 @@ req1 -req2 \ No newline at end of file +req2 diff --git a/dev_tools/pr_monitor/Dockerfile b/dev_tools/pr_monitor/Dockerfile index 10769b7c9a5..8a213c155be 100644 --- a/dev_tools/pr_monitor/Dockerfile +++ b/dev_tools/pr_monitor/Dockerfile @@ -34,4 +34,4 @@ RUN pip install -r ./dev_tools/pr_monitor/requirements.txt COPY ./*.py ./dev_tools/ ENV PYTHONPATH=/app -CMD ["python", "dev_tools/pr_monitor.py"] \ No newline at end of file +CMD ["python", "dev_tools/pr_monitor.py"] diff --git a/dev_tools/pr_monitor/cloudbuild-deploy.yaml b/dev_tools/pr_monitor/cloudbuild-deploy.yaml index fd979c8c934..34300fe97e9 100644 --- a/dev_tools/pr_monitor/cloudbuild-deploy.yaml +++ b/dev_tools/pr_monitor/cloudbuild-deploy.yaml @@ -16,4 +16,4 @@ steps: - skaffold - run - --force - - -f=dev_tools/pr_monitor/skaffold.yaml \ No newline at end of file + - -f=dev_tools/pr_monitor/skaffold.yaml diff --git a/dev_tools/pr_monitor/requirements.txt b/dev_tools/pr_monitor/requirements.txt index 3295e05fea7..bb4557061ba 100644 --- a/dev_tools/pr_monitor/requirements.txt +++ b/dev_tools/pr_monitor/requirements.txt @@ -1,2 +1,2 @@ requests==2.32.0 -google-cloud-secret-manager==1.0.0 \ No newline at end of file +google-cloud-secret-manager==1.0.0 diff --git a/dev_tools/pr_monitor/statefulset.yaml b/dev_tools/pr_monitor/statefulset.yaml index c6947c21542..87c5baedcc4 100644 --- a/dev_tools/pr_monitor/statefulset.yaml +++ b/dev_tools/pr_monitor/statefulset.yaml @@ -26,4 +26,4 @@ spec: spec: containers: - name: cirq-pr-monitor - image: us-docker.pkg.dev/cirq-infra/cirq/pr_monitor \ No newline at end of file + image: us-docker.pkg.dev/cirq-infra/cirq/pr_monitor diff --git a/dev_tools/requirements/isolated-base.env.txt b/dev_tools/requirements/isolated-base.env.txt index d6f35f9668d..78d3ef7b988 100644 --- a/dev_tools/requirements/isolated-base.env.txt +++ b/dev_tools/requirements/isolated-base.env.txt @@ -4,4 +4,4 @@ -r deps/notebook.txt # for shell_tools -requests \ No newline at end of file +requests diff --git a/dev_tools/requirements/mypy.env.txt b/dev_tools/requirements/mypy.env.txt index 66692620363..a98e9c37342 100644 --- a/dev_tools/requirements/mypy.env.txt +++ b/dev_tools/requirements/mypy.env.txt @@ -3,4 +3,4 @@ # compile it with pip-compile dev_tools/requirements/dev.txt -r deps/cirq-all.txt --r deps/mypy.txt \ No newline at end of file +-r deps/mypy.txt diff --git a/dev_tools/requirements/no-contrib.env.txt b/dev_tools/requirements/no-contrib.env.txt index 9502a29c686..a2d10201a44 100644 --- a/dev_tools/requirements/no-contrib.env.txt +++ b/dev_tools/requirements/no-contrib.env.txt @@ -1,2 +1,2 @@ -r deps/cirq-all-no-contrib.txt --r deps/dev-tools.txt \ No newline at end of file +-r deps/dev-tools.txt diff --git a/dev_tools/requirements/test_data/b.req.txt b/dev_tools/requirements/test_data/b.req.txt index 84d21dfe5fd..d88211a68a2 100644 --- a/dev_tools/requirements/test_data/b.req.txt +++ b/dev_tools/requirements/test_data/b.req.txt @@ -1,2 +1,2 @@ # a comment -b \ No newline at end of file +b diff --git a/dev_tools/requirements/test_data/sub/c.req.txt b/dev_tools/requirements/test_data/sub/c.req.txt index 20d4cd22851..f51ef251334 100644 --- a/dev_tools/requirements/test_data/sub/c.req.txt +++ b/dev_tools/requirements/test_data/sub/c.req.txt @@ -1,3 +1,3 @@ # c is included # this one has no new line at the end -c \ No newline at end of file +c diff --git a/dev_tools/triage-party/cloudbuild-deploy.yaml b/dev_tools/triage-party/cloudbuild-deploy.yaml index 343970bdb32..e33dacd44c7 100644 --- a/dev_tools/triage-party/cloudbuild-deploy.yaml +++ b/dev_tools/triage-party/cloudbuild-deploy.yaml @@ -16,4 +16,4 @@ steps: - skaffold - run - --force - - -f=dev_tools/triage-party/skaffold.yaml \ No newline at end of file + - -f=dev_tools/triage-party/skaffold.yaml diff --git a/dev_tools/triage-party/kubernetes/01_ns/namespace.yaml b/dev_tools/triage-party/kubernetes/01_ns/namespace.yaml index b06366c1d8c..cb79a2c5849 100644 --- a/dev_tools/triage-party/kubernetes/01_ns/namespace.yaml +++ b/dev_tools/triage-party/kubernetes/01_ns/namespace.yaml @@ -3,4 +3,4 @@ kind: Namespace metadata: name: triage-party labels: - name: triage-party \ No newline at end of file + name: triage-party diff --git a/dev_tools/triage-party/kubernetes/02_deployment/configmap.yaml b/dev_tools/triage-party/kubernetes/02_deployment/configmap.yaml index 9a32b9997fb..09478889cb3 100644 --- a/dev_tools/triage-party/kubernetes/02_deployment/configmap.yaml +++ b/dev_tools/triage-party/kubernetes/02_deployment/configmap.yaml @@ -208,4 +208,4 @@ data: filters: - tag: recv - responded: +7d - - label: "kind/design-issue" \ No newline at end of file + - label: "kind/design-issue" diff --git a/docs/simulate/_index.yaml b/docs/simulate/_index.yaml index 5507a165cbf..75c49d2f1d5 100644 --- a/docs/simulate/_index.yaml +++ b/docs/simulate/_index.yaml @@ -41,4 +41,4 @@ landing_page: path: /cirq/simulate/qvm_builder_code - heading: Virtual Engine Interface description: Details on the virtual version of the hardware Engine API and how to use it. - path: /cirq/simulate/virtual_engine_interface \ No newline at end of file + path: /cirq/simulate/virtual_engine_interface