[flake8]
max-line-length = 500
extend-ignore = E731
exclude =
    .git
    __pycache__
per-file-ignores =
    # These tests set required environment variables before importing Loki.
    tests/test_loki_tool_loop.py: E402
    tests/test_markdown_render.py: E402
    # The native probe logs Python entry before loading its imports.
    tests/test_windows_appcontainers.py: E402
    # The vulture whitelist deliberately names symbols instead of using them.
    vulture_whitelist.py: F821
