def lint(session):
    """Run linters.

    Returns a failure if the linters find linting errors or sufficiently
    serious code quality issues.
    """
    session.install("flake8", BLACK_VERSION)
    session.run(
        "black",
        "--check",
        *LINT_PATHS,
    )
    session.run("flake8", "pandas_gbq", "tests")
Run linters.

    Returns a failure if the linters find linting errors or sufficiently
    serious code quality issues.
    
noxfile.py