- commit
- 4c01bdb242e9ae54c8126a815a4887229629073e
- parent
- daedffa6edef92028070fad184755c6a7f733197
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-03-06 19:40
replace flake8/isort by ruff
Diffstat
| M | .github/workflows/main.yml | 5 | ++--- |
| M | pyproject.toml | 11 | +++++++++++ |
| D | setup.cfg | 10 | ---------- |
3 files changed, 13 insertions, 13 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
@@ -5,11 +5,10 @@ jobs: 5 5 steps: 6 6 - uses: actions/checkout@v2 7 7 - uses: actions/setup-python@v28 -1 - run: pip install flake8 isort-1 8 - run: pip install ruff 9 9 - name: linters 10 10 run: |11 -1 flake812 -1 isort -c mfa-1 11 ruff mfa tests 13 12 test: 14 13 runs-on: ubuntu-latest 15 14 strategy:
diff --git a/pyproject.toml b/pyproject.toml
@@ -2,5 +2,16 @@ 2 2 requires = ["setuptools", "wheel"] 3 3 build-backend = "setuptools.build_meta" 4 4 -1 5 [tool.ruff] -1 6 target-version = "py37" -1 7 exclude = ["migrations"] -1 8 select = ["E", "F", "W", "C9", "I", "Q"] -1 9 -1 10 [tool.ruff.flake8-quotes] -1 11 inline-quotes = "single" -1 12 -1 13 [tool.ruff.isort] -1 14 force-single-line = true -1 15 5 16 [tool.coverage.run] 6 17 source = ["mfa"]
diff --git a/setup.cfg b/setup.cfg
@@ -1,10 +0,0 @@1 -1 [flake8]2 -1 exclude =3 -1 .venv,4 -1 .git,5 -1 migrations,6 -1 max-complexity = 87 -18 -1 [isort]9 -1 force_single_line = True10 -1 skip = migrations