Skip to content

Commit

Permalink
Add directories for Ruff to lint
Browse files Browse the repository at this point in the history
Ruff will now lint both the current (top level) directory and the
project directory (e.g. 'mylib' or 'app').
  • Loading branch information
webventurer committed Sep 13, 2024
1 parent a249c01 commit 2b7ca2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ You'll need to rename the package from "mylib" to something sensible:

```sh
git mv mylib newname
sed -i '' -e 's/mylib/newname/' tests/* .projections.json .github/workflows/python-app.yml .envrc
sed -i '' -e 's/mylib/newname/' tests/* .projections.json .github/workflows/python-app.yml .envrc pyproject.toml
```

## Choosing the Python version
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[tool.ruff]
line-length = 80
src = [".", "mylib"]

[tool.ruff.format]
quote-style = "double"

0 comments on commit 2b7ca2d

Please sign in to comment.