Reviewed-on: #3 Co-authored-by: pedro-bento <mail@pbento.pt> Co-committed-by: pedro-bento <mail@pbento.pt>
30 lines
957 B
TOML
30 lines
957 B
TOML
# The backend is not packaged or published: it runs from a bind-mounted source
|
|
# tree (docker-compose.yml) and `requirements.txt` is the single runtime
|
|
# dependency source for the Docker image. This file therefore carries tool
|
|
# configuration only — no [build-system] and no [project] table — which also
|
|
# avoids colliding with the published `clipwright` CLI distribution under
|
|
# `cli/`.
|
|
|
|
[tool.pytest.ini_options]
|
|
minversion = "7.0"
|
|
testpaths = ["tests"]
|
|
# Makes the repo-root `clipwright/` package importable without a sys.path hack
|
|
# in tests/conftest.py.
|
|
pythonpath = ["."]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
extend-exclude = [
|
|
"dashboard",
|
|
"render-service",
|
|
"remotion",
|
|
"cli",
|
|
"output",
|
|
"uploads",
|
|
]
|
|
|
|
[tool.ruff.lint]
|
|
# Correctness only for now: keep this migration reviewable. Style/import rules
|
|
# can be ratcheted later without conflicting with the structural change.
|
|
select = ["E4", "E7", "E9", "F"]
|