From 9fb698690853e37d8ef2624cc60b24a58605af4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Mond=C3=A9jar=20Rubio?= Date: Thu, 10 Aug 2023 08:12:52 +0200 Subject: [PATCH] Bump version --- .github/workflows/ci.yml | 3 ++- .pre-commit-config.yaml | 4 ++-- rust/Cargo.toml | 4 ++-- rust/src/lib.rs | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed74481..f110639 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,6 +69,7 @@ jobs: - 3.9 - "3.10" - "3.11" + - 3.12.0-beta.4 os: - ubuntu-latest - windows-latest @@ -137,7 +138,7 @@ jobs: - uses: PyO3/maturin-action@v1 with: command: build - args: --release -o dist --universal2 --find-interpreter + args: --release -o dist --target universal2-apple-darwin --find-interpreter working-directory: python - name: Upload wheels uses: actions/upload-artifact@v3 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 670713f..43c8629 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,10 +1,10 @@ repos: - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.0-alpha.4 + rev: v3.0.1 hooks: - id: prettier - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 23.7.0 hooks: - id: black - repo: https://github.com/doublify/pre-commit-rust diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 4b214f0..d34fcbd 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "md-ulb-pwrap" -version = "0.0.3" +version = "0.1.0" edition = "2021" description = "Markdown paragraph wrapper using Unicode Line Breaking Algorithm." license = "BSD-3-Clause" @@ -14,4 +14,4 @@ path = "src/lib.rs" unicode-linebreak = "0.1.4" [dev-dependencies] -rstest = "0.16.0" +rstest = "0.17.0" diff --git a/rust/src/lib.rs b/rust/src/lib.rs index 2d1785c..bcd4cb6 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -326,6 +326,6 @@ mod tests { #[case] width: usize, #[case] expected: String, ) { - assert_eq!(ulb_wrap_paragraph(text, width, width), expected,); + assert_eq!(ulb_wrap_paragraph(text, width, width), expected); } }