forked from semgrep/semgrep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
33 lines (31 loc) · 986 Bytes
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[tool.pytest.ini_options]
# coupling: if you add a dep here it would be great if you added it to the top
# level flake.nix in devPipInputs
minversion = "7.0"
# The default folders where pytest looks for tests when none is specified
# on the command line. Don't extend this list so as to minimize surprises.
testpaths = [
"tests/default",
]
addopts = "--strict-markers"
markers = [
"quick: test takes less than 100 ms",
"kinda_slow: test takes up to 2s",
"slow: test takes more than 2s",
"todo: the test is not implemented or needs work",
"no_semgrep_cli: this test doesn't invoke the semgrep CLI or osemgrep",
"osemfail: this test currently fails with osemgrep",
]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py38, py39, py310, py311
[testenv]
allowlist_externals = pipenv
commands =
pipenv install --dev
pipenv run pytest -n auto -vv --tb=short
setenv =
# suppress a pipenv warning about using the active env
PIPENV_VERBOSITY = -1
"""