MCPcopy
hub / github.com/pyca/cryptography / flake

Function flake

noxfile.py:203–230  ·  view source on GitHub ↗
(session: nox.Session)

Source from the content-addressed store, hash-verified

201
202@nox.session
203def flake(session: nox.Session) -> None:
204 # TODO: Ideally there'd be a pip flag to install just our dependencies,
205 # but not install us.
206 pyproject_data = load_pyproject_toml()
207 install(session, "-e", "vectors/")
208 install(
209 session,
210 *pyproject_data["build-system"]["requires"],
211 *pyproject_data["project"]["optional-dependencies"]["ssh"],
212 "--group",
213 "pep8test",
214 "--group",
215 "test",
216 "--group",
217 "nox",
218 )
219
220 session.run("ruff", "check")
221 session.run("ruff", "format", "--check")
222 session.run(
223 "mypy",
224 "src/cryptography/",
225 "vectors/cryptography_vectors/",
226 "tests/",
227 "release.py",
228 "noxfile.py",
229 )
230 session.run("check-sdist", "--no-isolation")
231
232
233@nox.session

Callers

nothing calls this directly

Calls 3

load_pyproject_tomlFunction · 0.85
installFunction · 0.85
runMethod · 0.80

Tested by

no test coverage detected