Skip to content

Commit

Permalink
Add prettier for markdown files (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin authored Sep 19, 2024
1 parent aa97298 commit ea2c7e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ jobs:
- run: cargo clippy --all-features --locked -- -D warnings

fmt:
name: Rustfmt
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup component add rustfmt
- run: cargo fmt --all -- --check
- run: npx prettier --check "**/*.md"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ A Rust port of the [pkginfo](https://pypi.org/project/pkginfo/) Python library.

## Installation

Add it to your ``Cargo.toml``:
Add it to your `Cargo.toml`:

```toml
[dependencies]
python-pkginfo = "0.6"
```

then you are good to go. If you are using Rust 2015 you have to add ``extern crate python_pkginfo`` to your crate root as well.
then you are good to go. If you are using Rust 2015 you have to add `extern crate python_pkginfo` to your crate root as well.

## Example

Expand Down

0 comments on commit ea2c7e9

Please sign in to comment.