Dang it bender...
also config
This commit is contained in:
@@ -115,7 +115,6 @@ def checkAccess(key: str, db: Session):
|
||||
logger.info("Access Valid!")
|
||||
return True
|
||||
|
||||
current_weekday = datetime.weekday(date.today())
|
||||
current_time = datetime.now().astimezone()
|
||||
for auth in card.group.accessauths:
|
||||
logger.info(f"checking auth: {auth.name}")
|
||||
|
||||
@@ -56,3 +56,15 @@ select = [
|
||||
"I",
|
||||
]
|
||||
ignore = ["B008"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["test"]
|
||||
|
||||
[tool.coverage.run]
|
||||
source = ["app"]
|
||||
relative_files = true
|
||||
|
||||
[tool.coverage.report]
|
||||
fail_under = 65
|
||||
show_missing = false
|
||||
skip_covered = true
|
||||
Reference in New Issue
Block a user