mirror of
https://github.com/ivuorinen/aeonview.git
synced 2026-03-14 03:58:42 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user