Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ruff update #183

Merged
merged 1 commit into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading