fix: ignore uv.lock in editorconfig, disable PYTHON_PYLINT/PYRIGHT in mega-linter, use uv for dep install (#11)

* Initial plan

* fix: ignore uv.lock in editorconfig and disable PYTHON_PYLINT/PYRIGHT in mega-linter

Co-authored-by: ivuorinen <11024+ivuorinen@users.noreply.github.com>

* fix: update outdated comment in mega-linter config

Co-authored-by: ivuorinen <11024+ivuorinen@users.noreply.github.com>

* fix: use uv instead of pip to install deps in mega-linter config

Co-authored-by: ivuorinen <11024+ivuorinen@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ivuorinen <11024+ivuorinen@users.noreply.github.com>
This commit is contained in:
Copilot
2026-03-13 12:02:09 +02:00
committed by GitHub
parent 265f8de06b
commit 4d58dcc709
2 changed files with 12 additions and 3 deletions

View File

@@ -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