Initial commit: Core packages

This commit is contained in:
Ernad Husremovic 2025-08-29 15:20:45 +02:00
commit 12c29a983b
9512 changed files with 8379910 additions and 0 deletions

View file

@ -0,0 +1,18 @@
from os import environ, path
import subprocess
import sys
#This test is meant to be standalone, correct usage : python test_security.py file1 file2 file3 ...
if __name__ == '__main__':
HERE = path.dirname(__file__)
if 'PYTHONPATH' not in environ:
environ['PYTHONPATH'] = HERE
else:
environ['PYTHONPATH'] += ':' + HERE
command = ['pylint', '--rcfile=/dev/null', '--disable=all', '--output-format', 'json', '--enable=non-const-markup', '--reports=n', '--load-plugins=_odoo_checker_markup', *sys.argv[1:]]
proc = subprocess.run(command, env=environ, check=True)