microsoft/hve-core
Publicmirrored from https://github.com/microsoft/hve-coreAvailable
scripts/evals/moderation/pyproject.toml
32lines · modecode
| 1 | [project] |
| 2 | name = "hve-core-moderation" |
| 3 | version = "1.0.0" |
| 4 | description = "Content moderation tooling for eval input/output screening" |
| 5 | requires-python = ">=3.11" |
| 6 | |
| 7 | [tool.ruff] |
| 8 | line-length = 120 |
| 9 | target-version = "py311" |
| 10 | |
| 11 | [tool.ruff.lint] |
| 12 | select = ["E", "F", "I", "W"] |
| 13 | ignore = [] |
| 14 | |
| 15 | [tool.pytest.ini_options] |
| 16 | testpaths = ["tests"] |
| 17 | python_files = ["test_*.py", "fuzz_harness.py"] |
| 18 | addopts = [ |
| 19 | "-v", |
| 20 | "--strict-markers", |
| 21 | "--tb=short", |
| 22 | ] |
| 23 | |
| 24 | [dependency-groups] |
| 25 | dev = [ |
| 26 | "pytest>=8.0", |
| 27 | "pytest-mock>=3.14", |
| 28 | "ruff>=0.6", |
| 29 | ] |
| 30 | fuzz = [ |
| 31 | "atheris>=3.0", |
| 32 | ] |
| 33 | |