diff --git a/.editorconfig b/.editorconfig index 2f23326..5ae6a1e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -22,5 +22,8 @@ indent_style = tab trim_trailing_whitespace = false max_line_length = 200 +[uv.lock] +max_line_length = unset + [*.{yml,toml}] max_line_length = 200 diff --git a/.mega-linter.yml b/.mega-linter.yml index bee0eee..8596d73 100644 --- a/.mega-linter.yml +++ b/.mega-linter.yml @@ -2,8 +2,14 @@ # MegaLinter configuration # https://megalinter.io/latest/configuration/ -# Install Python dependencies before linting so pylint and pyright -# can resolve imports from requirements.txt (e.g. pytest, requests) +# Disable linters that are replaced by uv-based workflows +DISABLE_LINTERS: + - PYTHON_PYLINT + - PYTHON_PYRIGHT + +# Install Python dependencies before linting using uv PRE_COMMANDS: - - command: pip install -r requirements.txt + - command: pip install uv + cwd: workspace + - command: uv sync --all-groups cwd: workspace