mirror of
https://github.com/sherlock-project/sherlock
synced 2025-02-16 12:38:27 +00:00
Add basic tox
This commit is contained in:
parent
1de8ad0fc4
commit
b344611371
1 changed files with 25 additions and 0 deletions
25
tox.ini
Normal file
25
tox.ini
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
[tox]
|
||||||
|
requires =
|
||||||
|
tox >= 4
|
||||||
|
envlist =
|
||||||
|
lint
|
||||||
|
py313
|
||||||
|
py312
|
||||||
|
py311
|
||||||
|
py310
|
||||||
|
py39
|
||||||
|
py38
|
||||||
|
|
||||||
|
[testenv]
|
||||||
|
whitelist_externals = poetry
|
||||||
|
commands =
|
||||||
|
poetry plugin add poetry-version-plugin
|
||||||
|
poetry install --no-root --with dev
|
||||||
|
|
||||||
|
[testenv:lint]
|
||||||
|
description = Lint with Ruff
|
||||||
|
deps =
|
||||||
|
ruff
|
||||||
|
commands =
|
||||||
|
ruff check
|
||||||
|
|
Loading…
Add table
Reference in a new issue