mirror of
https://github.com/BoPeng/ai-marketplace-monitor.git
synced 2025-12-23 22:28:18 -05:00
Comment out a deprecated check
This commit is contained in:
11
tasks.py
11
tasks.py
@@ -103,11 +103,12 @@ def ruff(c: Context) -> None:
|
||||
@task()
|
||||
def security(c: Context) -> None:
|
||||
"""Run security related checks."""
|
||||
_run(
|
||||
c,
|
||||
"poetry export --with dev --format=requirements.txt --without-hashes | "
|
||||
"poetry run safety check --stdin --full-report",
|
||||
)
|
||||
# _run(
|
||||
# c,
|
||||
# "poetry export --with dev --format=requirements.txt --without-hashes | "
|
||||
# "poetry run safety check --stdin --full-report",
|
||||
# )
|
||||
return None
|
||||
|
||||
|
||||
@task(pre=[ruff, security, call(format_, check=True)])
|
||||
|
||||
Reference in New Issue
Block a user