level12 / copier-py-package

0 stars 0 forks source link

add pip-audit #16

Closed rsyring closed 1 month ago

rsyring commented 4 months ago
@nox.session
def audit(session: nox.Session):
    # Much faster to install the deps first and have pip-audit run agains the venv
    session.install('-r', 'requirements/dev.txt')
    session.run(
        'pip-audit',
        '--desc',
        '--skip-editable',
    )

And add pip-audit to dev.in