mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
Avoid building ourselves in the flake job (#9789)
This commit is contained in:
parent
5838299787
commit
bb28549247
1 changed files with 15 additions and 1 deletions
16
noxfile.py
16
noxfile.py
|
|
@ -152,7 +152,21 @@ def docs_linkcheck(session: nox.Session) -> None:
|
|||
|
||||
@nox.session
|
||||
def flake(session: nox.Session) -> None:
|
||||
install(session, ".[pep8test,test,ssh,nox]")
|
||||
# Just install the dependencies needed for these tests - basically
|
||||
# `pip install .[pep8test,test,ssh,nox]`, but without installing `.`
|
||||
# TODO: Ideally there'd be a pip flag to install just our dependencies,
|
||||
# but not install us.
|
||||
install(
|
||||
session,
|
||||
"ruff",
|
||||
"check-sdist",
|
||||
"mypy",
|
||||
"bcrypt",
|
||||
"click",
|
||||
"pytest",
|
||||
"nox",
|
||||
)
|
||||
install(session, "-e", "vectors/")
|
||||
|
||||
session.run("ruff", ".")
|
||||
session.run("ruff", "format", "--check", ".")
|
||||
|
|
|
|||
Loading…
Reference in a new issue