(session: nox.Session)
| 149 | |
| 150 | @nox.session |
| 151 | def flake(session: nox.Session) -> None: |
| 152 | install(session, ".[pep8test,test,ssh,nox]") |
| 153 | |
| 154 | session.run("ruff", ".") |
| 155 | session.run("black", "--check", ".") |
| 156 | session.run("check-sdist") |
| 157 | session.run( |
| 158 | "mypy", |
| 159 | "src/cryptography/", |
| 160 | "vectors/cryptography_vectors/", |
| 161 | "tests/", |
| 162 | "release.py", |
| 163 | "noxfile.py", |
| 164 | ) |
| 165 | |
| 166 | |
| 167 | @nox.session |