@@ -12,40 +12,45 @@ repos:
1212 - id : check-json
1313 - id : check-yaml
1414 - id : end-of-file-fixer
15+ name : format end of file
1516 - id : trailing-whitespace
17+ name : format trailing whitespace
1618 - repo : https://github.com/pre-commit/mirrors-prettier
1719 rev : v3.1.0
1820 hooks :
1921 - id : prettier
22+ name : format prettier
2023 - repo : https://github.com/psf/black
2124 rev : 24.3.0
2225 hooks :
2326 - id : black-jupyter
27+ name : format notebook black
2428 - repo : https://github.com/nbQA-dev/nbQA
2529 rev : 1.8.4
2630 hooks :
2731 - id : nbqa-isort
32+ name : format notebook isort
2833
2934 - repo : local
3035 hooks :
3136 - id : upgrade-nbformat
32- name : Upgrade notebooks nbformat
37+ name : format nbformat upgrade
3338 entry : .internal/pre_commit_tools/set_nbformat.py
3439 language : python
3540 files : \.ipynb$
3641 additional_dependencies :
3742 - " nbformat"
3843 require_serial : true
3944 - id : extra-nbstripout
40- name : Strip further stuff from notebooks
45+ name : format nbformat strip
4146 entry : .internal/pre_commit_tools/extra_nbstripout.py
4247 language : python
4348 files : \.ipynb$
4449 additional_dependencies :
4550 - " nbformat"
4651 require_serial : true
4752 - id : verify-notebook-format-execution-count
48- name : Verify that execution-count >= 0
53+ name : format nbformat execution-count
4954 language : pygrep
5055 files : \.ipynb$
5156 entry : ' "execution_count": -'
5459 rev : 0.8.1
5560 hooks :
5661 - id : nbstripout
62+ name : format nbformat nbstripout
5763 args :
5864 [
5965 --keep-output,
@@ -77,14 +83,14 @@ repos:
7783 exclude : (^|/)logical_qubits_by_alice_and_bob\.ipynb$
7884 entry : ' [?&]version=[^ \t\n]*\.dev'
7985 - id : verify-platform-links-old
80- name : Forbid old generated links
86+ name : Forbid links from older versions
8187 language : pygrep
8288 files : \.ipynb$
8389 exclude : (^|/)logical_qubits_by_alice_and_bob\.ipynb$
8490 entry : ' "Opening:\s+https://'
8591
8692 - id : notebook-pre-commit
87- name : Notebook pre commit collection
93+ name : Validate naming notebooks
8894 description : Ensure notebooks conventions
8995 entry : .internal/pre_commit_tools/notebook_pre_commit_collection.py
9096 language : python
9399 - " pyyaml==6.0"
94100 require_serial : true
95101 - id : qmod-pre-commit
96- name : Qmod pre commit collection
102+ name : Validate naming qmods
97103 description : Ensure qmods conventions
98104 entry : .internal/pre_commit_tools/qmod_pre_commit_collection.py
99105 language : python
0 commit comments