Skip to content

Commit

Permalink
Switch to ruff from flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Donaim committed Oct 28, 2024
1 parent 4e406e2 commit 587f69d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: pip3 install .[dev]

- name: Run linter
run: flake8
run: ruff check

typechecker:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[![codecov](https://codecov.io/gh/cfe-lab/aligntools/branch/master/graph/badge.svg)](https://codecov.io/gh/cfe-lab/aligntools)
[![types - Mypy](https://img.shields.io/badge/types-Mypy-blue.svg)](https://github.com/python/mypy)
[![flake8 checked](https://img.shields.io/badge/flake8-checked-blueviolet.svg)](https://github.com/PyCQA/flake8)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![License - AGPL3](https://img.shields.io/badge/license-AGPLv3-blue)](https://spdx.org/licenses/)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/cfe-lab/aligntools/pulls)

Expand Down Expand Up @@ -204,7 +204,7 @@ git checkout -b $YOUR_CHANGE_NAME
- Running the validation, like this:

```shell
pytest && flake8 && bandit
pytest && ruff check && bandit
```

- Pushing the changes back to GitHub servers:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ test = [
]
dev = [
# Dependencies required for development (linting, type checking, etc.)
"flake8",
"ruff",
"mypy==1.9.0",
"bandit",
]
Expand Down

0 comments on commit 587f69d

Please sign in to comment.