diff --git a/.github/workflows/ruff.yaml b/.github/workflows/ruff.yaml new file mode 100644 index 000000000..e6e07e9cb --- /dev/null +++ b/.github/workflows/ruff.yaml @@ -0,0 +1,10 @@ +name: Linting +on: [ push, pull_request ] +jobs: + ruff: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: chartboost/ruff-action@v1 + with: + args: check --fix \ No newline at end of file diff --git a/ruff.toml b/ruff.toml new file mode 100644 index 000000000..ce0c1a544 --- /dev/null +++ b/ruff.toml @@ -0,0 +1,2 @@ +[lint] +#ignore = ["F401", "F403", "F405", "F541", "F821" , "F841", "E713", "E721", "E722", "E741"] \ No newline at end of file