Skip to content

Commit eb65848

Browse files
committed
Update template
2 parents ead6af6 + 59101cf commit eb65848

File tree

8 files changed

+23
-19
lines changed

8 files changed

+23
-19
lines changed

.JuliaFormatter.toml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/CompatHelper.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: "CompatHelper"
22

33
on:
44
schedule:
5-
- cron: 0 0 * * *
5+
- cron: '0 0 * * *'
66
workflow_dispatch:
77
permissions:
88
contents: write

.github/workflows/FormatCheck.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
name: "Format Check"
22

33
on:
4-
push:
5-
branches:
6-
- 'main'
7-
tags: '*'
8-
pull_request:
4+
pull_request_target:
5+
paths: ['**/*.jl']
6+
types: [opened, synchronize, reopened, ready_for_review]
7+
8+
permissions:
9+
contents: read
10+
actions: write
11+
pull-requests: write
912

1013
jobs:
1114
format-check:

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
.vscode/
1010
Manifest.toml
1111
benchmark/*.json
12+
dev/
13+
docs/LocalPreferences.toml
1214
docs/Manifest.toml
1315
docs/build/
1416
docs/src/index.md
17+
examples/LocalPreferences.toml
18+
test/LocalPreferences.toml

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ci:
2-
skip: [julia-formatter]
2+
skip: [runic]
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
@@ -11,7 +11,7 @@ repos:
1111
- id: end-of-file-fixer
1212
exclude_types: [markdown] # incompatible with Literate.jl
1313

14-
- repo: "https://github.com/domluna/JuliaFormatter.jl"
15-
rev: v2.1.6
14+
- repo: https://github.com/fredrikekre/runic-pre-commit
15+
rev: v2.0.1
1616
hooks:
17-
- id: "julia-formatter"
17+
- id: runic

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "QuantumOperatorDefinitions"
22
uuid = "826dd319-6fd5-459a-a990-3a4f214664bf"
3-
version = "0.2.8"
43
authors = ["ITensor developers <[email protected]> and contributors"]
4+
version = "0.2.9"
55

66
[deps]
77
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
@@ -20,8 +20,8 @@ QuantumOperatorDefinitionsITensorBaseExt = ["ITensorBase", "GradedArrays", "Name
2020
[compat]
2121
BlockArrays = "1.3.0"
2222
GradedArrays = "0.4"
23-
ITensorBase = "0.2"
23+
ITensorBase = "0.2, 0.3"
2424
LinearAlgebra = "1.10"
25-
NamedDimsArrays = "0.7"
25+
NamedDimsArrays = "0.7, 0.8"
2626
Random = "1.10"
2727
julia = "1.10"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ using Test: @test
8282
@test Matrix(OpName("Y")) == [0 -im; im 0]
8383
@test Matrix(OpName("Z")) == [1 0; 0 -1]
8484

85-
@test Matrix(OpName("Rx"; θ=π / 3)) [sin/ 3) -cos/ 3)*im; -cos/ 3)*im sin/ 3)]
85+
@test Matrix(OpName("Rx"; θ = π / 3)) [sin/ 3) -cos/ 3) * im; -cos/ 3) * im sin/ 3)]
8686
````
8787

8888
---

test/Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Aqua = "0.8.9"
1717
BlockArrays = "1"
1818
BlockSparseArrays = "0.8, 0.9, 0.10"
1919
GradedArrays = "0.4"
20-
ITensorBase = "0.2"
21-
NamedDimsArrays = "0.7"
20+
ITensorBase = "0.2, 0.3"
21+
NamedDimsArrays = "0.7, 0.8"
2222
QuantumOperatorDefinitions = "0.2"
2323
SafeTestsets = "0.1"
2424
Suppressor = "0.2"

0 commit comments

Comments
 (0)