Skip to content

Commit

Permalink
Update and rename black.yml to ruff.yml (#120)
Browse files Browse the repository at this point in the history
* Update and rename black.yml to ruff.yml

* temp ignore some lint

* Update pyproject.toml
  • Loading branch information
asukaminato0721 authored Jul 16, 2024
1 parent 0cce2b0 commit 74444d3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/black.yml

This file was deleted.

8 changes: 8 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Ruff
on: [ push, pull_request ]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ requires-python = ">=3.9"

[project.urls]
Homepage = "https://github.com/open-spaced-repetition/fsrs-optimizer"
[tool.ruff.lint]
ignore = ["F405", "F403", "E712", "F541", "E722", "E741"]

0 comments on commit 74444d3

Please sign in to comment.