diff --git a/.gitignore b/.gitignore index 0f5ef9a..11ff03a 100644 --- a/.gitignore +++ b/.gitignore @@ -10,20 +10,17 @@ .DS_Store *.swp *.bin - # Windows */Thumbs.db - # VIM .ropeproject/* *.un~ *.*~ - # Ignore all PyCharm files .idea/* - # Ignore profiling dumps *.prof - # Testing stuff -.tox \ No newline at end of file +.tox +# macOS system files +._* 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..cad8aa9 --- /dev/null +++ b/project.json @@ -0,0 +1,93 @@ +{ + "name": "repo-repos-pywintrace", + "root": "repos/pywintrace", + "projectType": "library", + "targets": { + "status": { + "executor": "nx:run-commands", + "options": { + "command": "git -C repos/pywintrace status --short || true" + }, + "metadata": { + "supervisorRequired": true + } + }, + "fetch": { + "executor": "nx:run-commands", + "options": { + "command": "git -C repos/pywintrace fetch --all --prune || true" + }, + "metadata": { + "supervisorRequired": true + } + }, + "log": { + "executor": "nx:run-commands", + "options": { + "command": "git -C repos/pywintrace log --oneline -10 || true" + }, + "metadata": { + "supervisorRequired": true + } + }, + "manifests": { + "executor": "nx:run-commands", + "options": { + "command": "find repos/pywintrace \\( -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/pywintrace && pytest -q || python -m pytest -q || true'" + }, + "metadata": { + "supervisorRequired": true + } + }, + "python-lint": { + "executor": "nx:run-commands", + "options": { + "command": "sh -lc 'cd repos/pywintrace && ruff check . || flake8 . || true'" + }, + "metadata": { + "supervisorRequired": true + } + }, + "python-build": { + "executor": "nx:run-commands", + "options": { + "command": "sh -lc 'cd repos/pywintrace && python -m build || true'" + }, + "metadata": { + "supervisorRequired": true + } + }, + "security-python": { + "executor": "nx:run-commands", + "options": { + "command": "sh -lc 'cd repos/pywintrace && 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