Skip to content

Commit f06366f

Browse files
committed
updates from skeleton
1 parent 49e7df6 commit f06366f

File tree

7 files changed

+18
-18
lines changed

7 files changed

+18
-18
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:

.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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ This step is only required once.
2727
```julia
2828
julia> using Pkg: Pkg
2929

30-
julia> Pkg.Registry.add(url="https://github.com/ITensor/ITensorRegistry")
30+
julia> Pkg.Registry.add(url = "https://github.com/ITensor/ITensorRegistry")
3131
```
3232
or:
3333
```julia
34-
julia> Pkg.Registry.add(url="[email protected]:ITensor/ITensorRegistry.git")
34+
julia> Pkg.Registry.add(url = "[email protected]:ITensor/ITensorRegistry.git")
3535
```
3636
if you want to use SSH credentials, which can make it so you don't have to enter your Github ursername and password when registering packages.
3737

docs/make.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ makedocs(;
1515
authors = "ITensor developers <[email protected]> and contributors",
1616
sitename = "BlockSparseArrays.jl",
1717
format = Documenter.HTML(;
18-
canonical = "https://ITensor.github.io/BlockSparseArrays.jl",
18+
canonical = "https://itensor.github.io/BlockSparseArrays.jl",
1919
edit_link = "main",
2020
assets = ["assets/favicon.ico", "assets/extras.css"],
2121
),

examples/README.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
```julia
2525
julia> using Pkg: Pkg
2626
27-
julia> Pkg.Registry.add(url="https://github.com/ITensor/ITensorRegistry")
27+
julia> Pkg.Registry.add(url = "https://github.com/ITensor/ITensorRegistry")
2828
```
2929
=#
3030
# or:
3131
#=
3232
```julia
33-
julia> Pkg.Registry.add(url="[email protected]:ITensor/ITensorRegistry.git")
33+
julia> Pkg.Registry.add(url = "[email protected]:ITensor/ITensorRegistry.git")
3434
```
3535
=#
3636
# if you want to use SSH credentials, which can make it so you don't have to enter your Github ursername and password when registering packages.

0 commit comments

Comments
 (0)