Skip to content

Commit

Permalink
Add poetry group for nox
Browse files Browse the repository at this point in the history
  • Loading branch information
Allob committed Oct 3, 2023
1 parent 24feba6 commit cf8341c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,22 @@ docker_serve: docker_build


lint:
poetry install --only nox
poetry run nox -s lint


format:
poetry install --only nox
poetry run nox -s format


test:
poetry install --only nox
poetry run -- nox -s tests -- -m "not with_external" $(ARGS)


test_all: embeddings_model
poetry install --only nox
poetry run -- nox -s tests -- $(ARGS)


Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ pyright = "^1.1.325"
nox = "^2023.4.22"


[tool.poetry.group.nox.dependencies]
nox = "^2023.4.22"


[tool.pyright]
typeCheckingMode = "basic"
reportUnusedVariable = "error"
Expand Down

0 comments on commit cf8341c

Please sign in to comment.