From 5891a46ad2b21ef52dde413464e16ab0f05f7637 Mon Sep 17 00:00:00 2001 From: Thijs Kramer Date: Mon, 16 Oct 2023 10:14:50 +0200 Subject: [PATCH] do not fail tests under 100%; also ensure imports are sorted --- pyproject.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c332ae0..02d02fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,6 @@ addopts = ''' --cov-report html --cov-report term-missing --cov-branch - --cov-fail-under=100 ''' [tool.black] @@ -17,15 +16,16 @@ line-length = 88 select = [ "E", # pycodestyle "F", # pyflakes - "C", # pyupgrade - "B", # bugbear, + "C", # pyupgrade + "B", # bugbear, "PT", # pytest, - "SIM", # simplify, - "DJ", # django + "SIM", # simplify, + "DJ", # django, + "I", # isort ] # do not autofix the following violations due to bad DX: unfixable = [ - "F401", # Module imported but unused + "F401", # Module imported but unused "F841", # Unused variables ]