Skip to content

Commit

Permalink
do not fail tests under 100%; also ensure imports are sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
thijskramer committed Oct 16, 2023
1 parent b0998a8 commit 6c0e6d0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ addopts = '''
--cov-report html
--cov-report term-missing
--cov-branch
--cov-fail-under=100
'''

[tool.black]
Expand All @@ -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
]

0 comments on commit 6c0e6d0

Please sign in to comment.