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:
- uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1
with:
src: "./src"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:

View File

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