Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Apr 15, 2024
1 parent ba3c9c2 commit bf15ed8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ task lint_black(type: Exec) {
commandLine "black", "--check", "."
}

task lint_flake8(type: Exec) {
task lint_ruff(type: Exec) {
dependsOn pip_dev
commandLine "flake8"
commandLine "ruff", "check"
}

task lint_isort(type: Exec) {
Expand All @@ -113,7 +113,7 @@ task lint_isort(type: Exec) {
}

task lint {
dependsOn lint_black, lint_flake8, lint_isort
dependsOn lint_black, lint_ruff, lint_isort
}

void createPipRelatedTask(String flavour) {
Expand Down
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
black[jupyter]==24.3.0
flake8==7.0.0
ruff==0.3.5
isort==5.13.2
pre-commit
pytest-cov
Expand Down

0 comments on commit bf15ed8

Please sign in to comment.