Skip to content

Commit

Permalink
chore: update pixi.lock and add ruff configuration for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjermiah committed Nov 15, 2024
1 parent 87b4fa1 commit 35f0c8f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
6 changes: 6 additions & 0 deletions config/ruff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[ lint ]
# select = ["E4", "E7", "E9", "F", "B"]

ignore = [ "E722", "F405", "F403" ]


2 changes: 1 addition & 1 deletion pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ description = "Run pytest and generate coverage report"
ruff = ">=0.4.4"
pre-commit = ">=3.7.1,<3.8"

[feature.style.tasks]
lint.cmd = [
"ruff",
"--config",
"config/ruff.toml",
"check",
"src",
]
lint.inputs = ["config/ruff.toml", "src"]
lint.description = "Run ruff check"

#################################### RELEASE & BUILD ###############################################

Expand Down
2 changes: 0 additions & 2 deletions ruff.toml

This file was deleted.

0 comments on commit 35f0c8f

Please sign in to comment.