Skip to content

Commit 8537a7b

Browse files
authored
Merge branch 'master' into fix-multiprocessing-warnings
2 parents 4b8c9b5 + 7f04e57 commit 8537a7b

38 files changed

Lines changed: 627 additions & 340 deletions
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Bug report
2+
description: Report a problem with this software or project
3+
type: Bug
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thank you for taking the time to fill out this bug report!
9+
10+
- type: textarea
11+
attributes:
12+
label: Describe the issue
13+
description: >-
14+
Please explain clearly and in detail what the issue is. What led up
15+
to it, or how did you encounter it?
16+
validations:
17+
required: true
18+
19+
- type: input
20+
attributes:
21+
label: What version of this software are you using?
22+
validations:
23+
required: false
24+
25+
- type: textarea
26+
attributes:
27+
label: How can the issue be reproduced?
28+
description: >-
29+
Explain in a step-by-step fashion what someone else would need to
30+
do in order to reproduce the issue. If possible, include literal
31+
examples of commands or code using [Markdown fenced code
32+
blocks](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks).
33+
For long output, paste the text into [collapsed
34+
sections](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections)
35+
or attach text files.
36+
validations:
37+
required: false
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Feature request
2+
description: Request a new feature or change
3+
type: Enhancement
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thank you for taking the time to fill out this feature request form!
9+
10+
- type: textarea
11+
attributes:
12+
label: Is your feature request related to a use case or problem?
13+
description: >-
14+
Please tell us the context of your request. Is it to help you do
15+
something that you currently cannot due to limitations in this
16+
software, or is it an idea for an enhancement or new functionality,
17+
or something else?
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
attributes:
23+
label: What solution or approach do you envision?
24+
description: >-
25+
If you have ideas or preferences for the solution, you can let us know
26+
here. If you are aware of other similar or related work, please let us
27+
know about it here.
28+
validations:
29+
required: true
30+
31+
- type: dropdown
32+
attributes:
33+
label: How urgent is this for you?
34+
description: >-
35+
Please choose from among the following options. If the lack of this
36+
feature is blocking important work, please choose from among P0–P2.
37+
options:
38+
- P0 – needed no later than a week
39+
- P1 – needed by the next release
40+
- P2 – needed within two quarters
41+
- P3 – not blocked; it's an idea
42+
validations:
43+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: true

.github/dependabot.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1-
# Summary: Dependabot config file for OpenFermion.
1+
# Copyright 2025 Google LLC
22
#
3-
# By default, Dependabot labels all pull requests with label 'dependencies'.
4-
# We use `dependency bug`, so have to configure Dependabot appropriately.
5-
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
614

715
version: 2
816
updates:

.github/workflows/codeql.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8484

8585
- name: Initialize CodeQL scanning tool
86-
uses: github/codeql-action/init@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3
86+
uses: github/codeql-action/init@fca7ace96b7d713c7035871441bd52efbe39e27e # v3
8787
with:
8888
languages: ${{matrix.language}}
8989
queries: security-and-quality
@@ -99,6 +99,6 @@ jobs:
9999
- '**/*.txt'
100100
101101
- name: Perform CodeQL Analysis
102-
uses: github/codeql-action/analyze@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3
102+
uses: github/codeql-action/analyze@fca7ace96b7d713c7035871441bd52efbe39e27e # v3
103103
with:
104104
category: "/language:${{matrix.language}}"

.github/workflows/osv-scanner.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
- name: Upload results to the repository's code-scanning results dashboard
123123
id: upload_artifact
124124
# yamllint disable rule:line-length
125-
uses: github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
125+
uses: github/codeql-action/upload-sarif@fca7ace96b7d713c7035871441bd52efbe39e27e # v3.28.19
126126
with:
127127
sarif_file: osv-results.sarif
128128

.github/workflows/scorecard.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
persist-credentials: false
6262

6363
- name: Run Scorecard analysis
64-
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
64+
uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
6565
with:
6666
# Save the results
6767
results_file: scorecard-results.sarif
@@ -72,6 +72,6 @@ jobs:
7272
publish_results: true
7373

7474
- name: Upload results to code-scanning dashboard
75-
uses: github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3
75+
uses: github/codeql-action/upload-sarif@fca7ace96b7d713c7035871441bd52efbe39e27e # v3
7676
with:
7777
sarif_file: scorecard-results.sarif

README.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
:width: 75%
44
:align: center
55

6-
.. |ci| image:: https://img.shields.io/github/actions/workflow/status/quantumlib/openfermion/ci.yaml?style=flat-square&logo=GitHub&label=CI
7-
:alt: Continuous integration status badge
8-
:target: https://github.com/quantumlib/OpenFermion/actions/workflows/ci.yaml
9-
106
.. |python| image:: https://img.shields.io/badge/Python-3.10+-fcbc2c.svg?style=flat-square&logo=python&logoColor=white
117
:alt: Compatible with Python versions 3.10 and higher
128
:target: https://www.python.org/downloads/
@@ -19,15 +15,15 @@
1915
:alt: OpenFermion project on PyPI
2016
:target: https://pypi.org/project/OpenFermion
2117

22-
.. |downloads| image:: https://img.shields.io/pypi/dm/openfermion?logo=PyPI&logoColor=white&style=flat-square&label=Downloads
18+
.. |downloads| image:: https://img.shields.io/pypi/dm/openfermion?logo=PyPI&color=d56420&logoColor=white&style=flat-square&label=Downloads
2319
:alt: OpenFermion downloads per month from PyPI
2420
:target: https://img.shields.io/pypi/dm/OpenFermion
2521

2622
.. class:: margin-top
2723
.. class:: centered
2824

2925
|
30-
| |ci| |python| |license| |version| |downloads|
26+
| |python| |license| |version| |downloads|
3127
3228
.. |vertspace| image:: https://upload.wikimedia.org/wikipedia/commons/archive/c/ca/20200404084254%211x1.png
3329
:alt: Blank space

check/format-incremental

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
#!/usr/bin/env bash
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
215

316
################################################################################
417
# Formats python files that have been modified.

check/mypy

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
#!/usr/bin/env bash
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
215

316
################################################################################
417
# Runs mypy on the repository using a preconfigured mypy.ini file.

0 commit comments

Comments
 (0)