updates ruff config (and workflow)

This commit is contained in:
Mose Müller 2023-12-06 17:25:09 +01:00
parent 5a76d76d2b
commit f6bf229c8c
2 changed files with 3 additions and 1 deletions

View File

@ -21,6 +21,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1 - uses: chartboost/ruff-action@v1
with:
src: "./src"
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3 uses: actions/setup-python@v3
with: with:

View File

@ -82,7 +82,7 @@ ignore = [
"PERF203", # try-except-in-loop "PERF203", # try-except-in-loop
] ]
extend-exclude = [ extend-exclude = [
"docs", "frontend", "tests" "docs", "frontend"
] ]
[tool.ruff.lint.mccabe] [tool.ruff.lint.mccabe]