mirror of
https://github.com/ivuorinen/aeonview.git
synced 2026-03-14 15:58:53 +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
|
trim_trailing_whitespace = false
|
||||||
max_line_length = 200
|
max_line_length = 200
|
||||||
|
|
||||||
|
[uv.lock]
|
||||||
|
max_line_length = unset
|
||||||
|
|
||||||
[*.{yml,toml}]
|
[*.{yml,toml}]
|
||||||
max_line_length = 200
|
max_line_length = 200
|
||||||
|
|||||||
@@ -2,8 +2,14 @@
|
|||||||
# MegaLinter configuration
|
# MegaLinter configuration
|
||||||
# https://megalinter.io/latest/configuration/
|
# https://megalinter.io/latest/configuration/
|
||||||
|
|
||||||
# Install Python dependencies before linting so pylint and pyright
|
# Disable linters that are replaced by uv-based workflows
|
||||||
# can resolve imports from requirements.txt (e.g. pytest, requests)
|
DISABLE_LINTERS:
|
||||||
|
- PYTHON_PYLINT
|
||||||
|
- PYTHON_PYRIGHT
|
||||||
|
|
||||||
|
# Install Python dependencies before linting using uv
|
||||||
PRE_COMMANDS:
|
PRE_COMMANDS:
|
||||||
- command: pip install -r requirements.txt
|
- command: pip install uv
|
||||||
|
cwd: workspace
|
||||||
|
- command: uv sync --all-groups
|
||||||
cwd: workspace
|
cwd: workspace
|
||||||
|
|||||||
Reference in New Issue
Block a user