Skip to content

Commit

Permalink
experiment with ruff formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby committed Sep 22, 2023
1 parent 66a41f6 commit 5be577b
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 214 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
- name: ruff
run: poetry run ruff .

- name: black
run: poetry run black --check .
- name: ruff format
run: poetry run ruff format --check .

- name: mypy
run: poetry run mypy .
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ commands run by the CI on Github, such as:

```shell
$ poetry run ruff .
$ poetry run black --check .
$ poetry run ruff format --check .
$ poetry run mypy .
```
Loading

0 comments on commit 5be577b

Please sign in to comment.