fix: resolve MegaLinter editorconfig and pylint/pyright failures (#9)

This commit is contained in:
Copilot
2026-03-12 14:03:49 +02:00
committed by GitHub
parent 10a80cb395
commit 2e22efac17
4 changed files with 12 additions and 3 deletions

9
.mega-linter.yml Normal file
View File

@@ -0,0 +1,9 @@
---
# 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)
PRE_COMMANDS:
- command: pip install -r requirements.txt
cwd: workspace

View File

@@ -97,4 +97,4 @@ MIT License © 2025 Ismo Vuorinen
[lm-l]: https://opensource.org/licenses/MIT
[sample]: https://www.youtube.com/watch?v=SnywvnjHpUk
<!-- vim: set sw=2 ts=2 tw=72 fo=cqt wm=0 et: -->
<!-- vim: set sw=2 ts=2 tw=72 fo=cqt wm=0 et: -->

View File

@@ -535,4 +535,4 @@ if __name__ == "__main__":
app = AeonViewApp()
app.run()
# vim: set tw=100 fo=cqt wm=0 et:
# vim: set tw=100 fo=cqt wm=0 et:

View File

@@ -339,4 +339,4 @@ def test_setup_logger_non_verbose(mock_basic_config):
AeonViewHelpers.setup_logger(verbose=False)
mock_basic_config.assert_called_once_with(
level=logging.INFO, format="[%(levelname)s] %(message)s"
)
)