Skip to content

Commit

Permalink
ruff update (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabi1cazenave committed Jul 22, 2024
1 parent 015422f commit 58d71f6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
run: isort kalamine --check

- name: Run ruff
run: ruff kalamine
run: ruff check kalamine

- name: Run mypy
run: mypy kalamine
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ We rely on [ruff][3] and [mypy][4] for that, with their default configurations:
```bash
black --check --quiet kalamine
isort --check --quiet kalamine
ruff kalamine
ruff check kalamine
mypy kalamine
```

Expand All @@ -66,7 +66,7 @@ make lint
Many linting errors can be fixed automatically:

```bash
ruff --fix kalamine
ruff check --fix kalamine
```

[3]: https://docs.astral.sh/ruff/
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ format: ## Format sources
lint: ## Lint sources
black --check --quiet kalamine
isort --check --quiet kalamine
ruff kalamine
ruff check kalamine
mypy kalamine

test: ## Run tests
Expand Down

0 comments on commit 58d71f6

Please sign in to comment.