add tests
This commit is contained in:
parent
5ae6b86712
commit
ab0cd3e664
3 changed files with 170 additions and 15 deletions
|
|
@ -52,6 +52,7 @@ dependencies = [
|
|||
"pytest",
|
||||
"pytest-cov",
|
||||
"pytest-mock",
|
||||
'polyfactory',
|
||||
"ruff",
|
||||
'pyannotate',
|
||||
"black",
|
||||
|
|
@ -96,10 +97,11 @@ testpaths = ["tests"]
|
|||
fail-under=80
|
||||
|
||||
[tool.ruff]
|
||||
ignore = ["E501", "D211", "D213"]
|
||||
ignore = ["E501", "D211", "D212", "D213"]
|
||||
target-version = "py37"
|
||||
|
||||
|
||||
|
||||
select = [
|
||||
"F", # Pyflakes
|
||||
"E", # Error
|
||||
|
|
@ -159,3 +161,6 @@ max-complexity = 13
|
|||
|
||||
[tool.ruff.pylint]
|
||||
max-branches = 13
|
||||
|
||||
[tool.ruff.per-file-ignores]
|
||||
'tests/**' = ["D100", "D101", "D102", "D103", "D104", "D105", "S101"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue