19 lines
583 B
Python
19 lines
583 B
Python
"""Run mobsfscan without its default path ignores.
|
|
|
|
libsast skips every file whose path merely contains an ignored name, and
|
|
mobsfscan's defaults include 'spec' and 'fixtures', so a customer's code under
|
|
`inspection/` or `specs/` would silently go unscanned. Prüfwerk passes its own
|
|
ignores with `-c`, anchored as `/name/`. mobsfscan itself is used unchanged
|
|
(LGPL-3.0); this file only adjusts its settings before starting it.
|
|
"""
|
|
|
|
import sys
|
|
|
|
import mobsfscan.settings as settings
|
|
|
|
settings.IGNORE_PATHS.clear()
|
|
|
|
from mobsfscan.__main__ import main # noqa: E402
|
|
|
|
sys.exit(main())
|