Skip to content

Commit 7044def

Browse files
committed
Update code style badge, test CI draft behavior, fix pre-commit config
1 parent 93c7d55 commit 7044def

5 files changed

Lines changed: 11 additions & 9 deletions

File tree

.github/workflows/Tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
paths-ignore:
1010
- 'docs/**'
1111
pull_request:
12+
types: [opened, synchronize, reopened, ready_for_review, converted_to_draft]
1213
workflow_dispatch:
1314

1415
concurrency:

.pre-commit-config.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ repos:
77
pass_filenames: true
88
always_run: false
99
types: [file]
10-
files: \.(jl|[jq]?md)$
11-
exclude: '^test/'
10+
files: \.jl$
1211
language: "system"
1312
- repo: meta
1413
hooks:

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ITensorFormatter"
22
uuid = "b6bf39f1-c9d3-4bad-aad8-593d802f65fd"
3-
version = "0.2.7"
3+
version = "0.2.8"
44
authors = ["ITensor developers <support@itensor.org> and contributors"]
55

66
[workspace]

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://itensor.github.io/ITensorFormatter.jl/dev/)
55
[![Build Status](https://github.com/ITensor/ITensorFormatter.jl/actions/workflows/Tests.yml/badge.svg?branch=main)](https://github.com/ITensor/ITensorFormatter.jl/actions/workflows/Tests.yml?query=branch%3Amain)
66
[![Coverage](https://codecov.io/gh/ITensor/ITensorFormatter.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/ITensor/ITensorFormatter.jl)
7-
[![code style: runic](https://img.shields.io/badge/code_style-%E1%9A%B1%E1%9A%A2%E1%9A%BE%E1%9B%81%E1%9A%B2-black)](https://github.com/fredrikekre/Runic.jl)
7+
[![code style: runic](https://img.shields.io/badge/code_style-ITensor-purple)](https://github.com/ITensor/ITensorFormatter.jl)
88
[![Aqua](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)
99

10-
ITensorFormatter.jl is a code formatting tool for Julia source files. It primarily
11-
uses the [Runic.jl](https://github.com/fredrikekre/Runic.jl) code formatter, but also
10+
ITensorFormatter.jl is a code formatter for Julia source files used by packages in the
11+
ITensor ecosystem. It makes use of [Runic.jl](https://github.com/fredrikekre/Runic.jl),
12+
and [JuliaFormatter.jl](https://github.com/domluna/JuliaFormatter.jl), and also
1213
organizes using/import statements by merging adjacent blocks, sorting modules and
1314
symbols, and line-wrapping (similar to, and based off of, the using/import statement
1415
organization functionality in

examples/README.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
# [![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://itensor.github.io/ITensorFormatter.jl/dev/)
55
# [![Build Status](https://github.com/ITensor/ITensorFormatter.jl/actions/workflows/Tests.yml/badge.svg?branch=main)](https://github.com/ITensor/ITensorFormatter.jl/actions/workflows/Tests.yml?query=branch%3Amain)
66
# [![Coverage](https://codecov.io/gh/ITensor/ITensorFormatter.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/ITensor/ITensorFormatter.jl)
7-
# [![code style: runic](https://img.shields.io/badge/code_style-%E1%9A%B1%E1%9A%A2%E1%9A%BE%E1%9B%81%E1%9A%B2-black)](https://github.com/fredrikekre/Runic.jl)
7+
# [![code style: runic](https://img.shields.io/badge/code_style-ITensor-purple)](https://github.com/ITensor/ITensorFormatter.jl)
88
# [![Aqua](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)
99

10-
# ITensorFormatter.jl is a code formatting tool for Julia source files. It primarily
11-
# uses the [Runic.jl](https://github.com/fredrikekre/Runic.jl) code formatter, but also
10+
# ITensorFormatter.jl is a code formatter for Julia source files used by packages in the
11+
# ITensor ecosystem. It makes use of [Runic.jl](https://github.com/fredrikekre/Runic.jl),
12+
# and [JuliaFormatter.jl](https://github.com/domluna/JuliaFormatter.jl), and also
1213
# organizes using/import statements by merging adjacent blocks, sorting modules and
1314
# symbols, and line-wrapping (similar to, and based off of, the using/import statement
1415
# organization functionality in

0 commit comments

Comments
 (0)