mirror of
https://github.com/ivuorinen/aeonview.git
synced 2026-03-13 03:58:22 +00:00
fix: resolve MegaLinter editorconfig and pylint/pyright failures (#9)
This commit is contained in:
9
.mega-linter.yml
Normal file
9
.mega-linter.yml
Normal 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
|
||||||
@@ -97,4 +97,4 @@ MIT License © 2025 Ismo Vuorinen
|
|||||||
[lm-l]: https://opensource.org/licenses/MIT
|
[lm-l]: https://opensource.org/licenses/MIT
|
||||||
[sample]: https://www.youtube.com/watch?v=SnywvnjHpUk
|
[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: -->
|
||||||
|
|||||||
@@ -535,4 +535,4 @@ if __name__ == "__main__":
|
|||||||
app = AeonViewApp()
|
app = AeonViewApp()
|
||||||
app.run()
|
app.run()
|
||||||
|
|
||||||
# vim: set tw=100 fo=cqt wm=0 et:
|
# vim: set tw=100 fo=cqt wm=0 et:
|
||||||
|
|||||||
@@ -339,4 +339,4 @@ def test_setup_logger_non_verbose(mock_basic_config):
|
|||||||
AeonViewHelpers.setup_logger(verbose=False)
|
AeonViewHelpers.setup_logger(verbose=False)
|
||||||
mock_basic_config.assert_called_once_with(
|
mock_basic_config.assert_called_once_with(
|
||||||
level=logging.INFO, format="[%(levelname)s] %(message)s"
|
level=logging.INFO, format="[%(levelname)s] %(message)s"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user