Skip to content

Commit

Permalink
Upgrade black to 22.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Feb 25, 2022
1 parent 28496e0 commit b9d87d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: psf/[email protected]
with:
args: ". --check"
- uses: psf/[email protected]

spellcheck:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion src/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ mod test {
let mut readme_md = tempfile::NamedTempFile::new().unwrap();

let readme_path = if cfg!(windows) {
readme_md.path().to_str().unwrap().replace("\\", "/")
readme_md.path().to_str().unwrap().replace('\\', "/")
} else {
readme_md.path().to_str().unwrap().to_string()
};
Expand Down

0 comments on commit b9d87d1

Please sign in to comment.