mirror of
https://github.com/unslothai/unsloth.git
synced 2026-07-10 00:08:58 +00:00
Raise ruff line-length to 100 and extend the local pre-commit format pipeline (def-signature magic-comma normalization, short multi-line assert collapse, kwarg '=' spacing, blank-line-after-short-import removal, adjacent string-literal / f-string+plain merge, redundant-pass pruning). Every transform re-checks the file AST and is dropped if it would differ; the whole-repo reformat is verified AST-identical per file and idempotent.
6 lines
275 B
Python
6 lines
275 B
Python
"""Shared pytest configuration for tests/python/."""
|
|
|
|
|
|
def pytest_configure(config):
|
|
config.addinivalue_line("markers", "server: heavyweight tests requiring studio venv")
|
|
config.addinivalue_line("markers", "e2e: end-to-end tests requiring network and venv creation")
|