add lint_ruff.sh

Change-Id: I9ca385eef9e6831a49f61456aa24492d4fa2ec17
This commit is contained in:
Neels Hofmeyr
2025-03-06 23:53:43 +01:00
parent 8785747d24
commit a9d3cf370d
2 changed files with 12 additions and 0 deletions

4
lint_ruff.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh -e
set -x
cd "$(dirname "$0")"
ruff check .

8
ruff.toml Normal file
View File

@@ -0,0 +1,8 @@
[lint]
ignore = [
"E741",
"F403",
"F405",
"E713",
]