add tests

This commit is contained in:
Waylon Walker 2023-04-28 21:11:48 -05:00
parent 5ae6b86712
commit ab0cd3e664
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4
3 changed files with 170 additions and 15 deletions

View file

@ -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"]