Replace sync open()
calls within async functions with aiofiles.open()
in code examples
#8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://beta.ruff.rs | |
name: ruff | |
on: | |
push: | |
branches: [main, master] | |
pull_request: | |
branches: [main, master] | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: pip install --user codespell[toml] ruff | |
- run: codespell || true # --ignore-words-list="" --skip="*.css,*.js,*.lock,*.po" | |
- run: ruff --format=github --select=ASYNC,E9,F63,F7,F82 --target-version=py38 . |