def session_reqcheck()

in python/nox.py [0:0]


def session_reqcheck(session):
    session.install(REPO_TOOLS_REQ)

    if 'update' in session.posargs:
        command = 'update-requirements'
    else:
        command = 'check-requirements'

    for requirements in REQUIREMENTS_FILES:
        session.run('gcprepotools', command, requirements)