diff --git a/.gitignore b/.gitignore index a5770b6..ee7a662 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,6 @@ __pycache__/ # C extensions *.so - # Distribution / packaging .Python build/ @@ -25,17 +24,14 @@ wheels/ .installed.cfg *.egg MANIFEST - # PyInstaller # Usually these files are written by a python script from a template # before PyInstaller builds the exe, so as to inject date/other infos into it. *.manifest *.spec - # Installer logs pip-log.txt pip-delete-this-directory.txt - # Unit test / coverage reports htmlcov/ .tox/ @@ -47,41 +43,30 @@ coverage.xml *.cover .hypothesis/ .pytest_cache/ - # Translations *.mo *.pot - # Django stuff: *.log local_settings.py db.sqlite3 - # Flask stuff: instance/ .webassets-cache - # Scrapy stuff: .scrapy - # Sphinx documentation docs/_build/ - # PyBuilder target/ - # Jupyter Notebook .ipynb_checkpoints - # pyenv .python-version - # celery beat schedule file celerybeat-schedule - # SageMath parsed files *.sage.py - # Environments .env .venv @@ -91,17 +76,16 @@ ENV/ env.bak/ venv.bak/ python/ - # Spyder project settings .spyderproject .spyproject - # Rope project settings .ropeproject - # mkdocs documentation /site - # mypy .mypy_cache/ -.vscode \ No newline at end of file +.vscode +# macOS system files +.DS_Store +._* diff --git a/.whitesource b/.whitesource new file mode 100644 index 0000000..55b922e --- /dev/null +++ b/.whitesource @@ -0,0 +1,12 @@ +{ + "scanSettings": { + "baseBranches": [] + }, + "checkRunSettings": { + "vulnerableCheckRunConclusionLevel": "failure", + "displayMode": "diff" + }, + "issueSettings": { + "minSeverityLevel": "LOW" + } +} \ No newline at end of file diff --git a/project.json b/project.json new file mode 100644 index 0000000..d13e7e9 --- /dev/null +++ b/project.json @@ -0,0 +1,93 @@ +{ + "name": "repo-repos-fireeye-python", + "root": "repos/fireeye-python", + "projectType": "library", + "targets": { + "status": { + "executor": "nx:run-commands", + "options": { + "command": "git -C repos/fireeye-python status --short || true" + }, + "metadata": { + "supervisorRequired": true + } + }, + "fetch": { + "executor": "nx:run-commands", + "options": { + "command": "git -C repos/fireeye-python fetch --all --prune || true" + }, + "metadata": { + "supervisorRequired": true + } + }, + "log": { + "executor": "nx:run-commands", + "options": { + "command": "git -C repos/fireeye-python log --oneline -10 || true" + }, + "metadata": { + "supervisorRequired": true + } + }, + "manifests": { + "executor": "nx:run-commands", + "options": { + "command": "find repos/fireeye-python \\( -name package.json -o -name pyproject.toml -o -name Cargo.toml -o -name go.mod -o -name setup.py \\) -not -path '*/node_modules/*' -not -path '*/testdata/*' -not -path '*/fixtures/*' -print | sort" + }, + "metadata": { + "supervisorRequired": true + } + }, + "python-test": { + "executor": "nx:run-commands", + "options": { + "command": "sh -lc 'cd repos/fireeye-python && pytest -q || python -m pytest -q || true'" + }, + "metadata": { + "supervisorRequired": true + } + }, + "python-lint": { + "executor": "nx:run-commands", + "options": { + "command": "sh -lc 'cd repos/fireeye-python && ruff check . || flake8 . || true'" + }, + "metadata": { + "supervisorRequired": true + } + }, + "python-build": { + "executor": "nx:run-commands", + "options": { + "command": "sh -lc 'cd repos/fireeye-python && python -m build || true'" + }, + "metadata": { + "supervisorRequired": true + } + }, + "security-python": { + "executor": "nx:run-commands", + "options": { + "command": "sh -lc 'cd repos/fireeye-python && pip-audit || true'" + }, + "metadata": { + "supervisorRequired": true + } + }, + "security": { + "executor": "nx:run-commands", + "options": { + "command": "sh -lc 'printf \"security targets: security-python\\n\"'" + }, + "metadata": { + "supervisorRequired": true + } + } + }, + "tags": [ + "scope:repos", + "type:subrepo", + "lang:python" + ] +} \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 24e1838..f82e70d 100644 Binary files a/requirements.txt and b/requirements.txt differ