[WARNING] hook id `oat-check` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [INFO] Initializing environment for https://gitcode.com/pre-commit/pre-commit-hooks. [WARNING] repo `https://gitcode.com/pre-commit/pre-commit-hooks` uses deprecated stage names (commit, push) which will be removed in a future version. Hint: often `pre-commit autoupdate --repo https://gitcode.com/pre-commit/pre-commit-hooks` will fix this. if it does not -- consider reporting an issue to that repo. [INFO] Initializing environment for https://gitcode.com/pre-commit-clang/mirrors-clang-format. [INFO] Initializing environment for https://gitcode.com/gh_mirrors/ru/ruff-pre-commit. [INFO] Initializing environment for https://gitcode.com/gh_mirrors/co/codespell. [INFO] Installing environment for https://gitcode.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://gitcode.com/pre-commit-clang/mirrors-clang-format. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://gitcode.com/gh_mirrors/ru/ruff-pre-commit. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://gitcode.com/gh_mirrors/co/codespell. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... trim trailing whitespace.................................................Passed fix end of files.........................................................Passed check yaml...........................................(no files to check)Skipped check for added large files..............................................Passed check for merge conflicts................................................Passed detect private key.......................................................Passed check json...........................................(no files to check)Skipped clang-format.............................................................Passed ruff check...........................................(no files to check)Skipped ruff format..........................................(no files to check)Skipped codespell................................................................Passed OAT Compliance Check.....................................................Passed - hook id: oat-check - duration: 4.22s [OAT] oat-py not found. Installing oat-py>=1.0.1 ... WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. [OAT] oat-py installed successfully. [OAT] Running OAT scan (Python Edition) ??INCREMENTAL MODE [OAT] Project: j_IKkNK3J8 [OAT] Mode: staged files ??scanning only currently staged files [OAT] Checking 15 staged file(s)... [OAT] Running compliance scan... [OAT] [OK] All checks passed (15 file(s) checked). [OAT] Summary: cat /opt/cloud/agent_1766041207410_XjlH2/workspace/j_IKkNK3J8/oat_reports/result.txt [OAT] oat-py not found. Installing oat-py>=1.0.1 ... [OAT] oat-py installed successfully. [OAT] Another OAT scan instance is running. Waiting... [OAT] Previous instance did not complete. Proceeding with scan... [OAT] Running OAT scan (Python Edition) ??INCREMENTAL MODE [OAT] Project: j_IKkNK3J8 [OAT] Mode: staged files ??scanning only currently staged files [OAT] Checking 15 staged file(s)... [OAT] Running compliance scan... [OAT] [OK] All checks passed (15 file(s) checked). [OAT] Summary: cat /opt/cloud/agent_1766041207410_XjlH2/workspace/j_IKkNK3J8/oat_reports/result.txt [OAT] oat-py not found. Installing oat-py>=1.0.1 ... [OAT] oat-py installed successfully. [OAT] Another OAT scan instance is running. Waiting... [OAT] Previous instance did not complete. Proceeding with scan... [OAT] Running OAT scan (Python Edition) ??INCREMENTAL MODE [OAT] Project: j_IKkNK3J8 [OAT] Mode: staged files ??scanning only currently staged files [OAT] Checking 15 staged file(s)... [OAT] Running compliance scan... [OAT] [OK] All checks passed (15 file(s) checked). [OAT] Summary: cat /opt/cloud/agent_1766041207410_XjlH2/workspace/j_IKkNK3J8/oat_reports/result.txt [OAT] oat-py not found. Installing oat-py>=1.0.1 ... [OAT] oat-py installed successfully. [OAT] Another OAT scan instance is running. Waiting... [OAT] Previous instance did not complete. Proceeding with scan... [OAT] Running OAT scan (Python Edition) ??INCREMENTAL MODE [OAT] Project: j_IKkNK3J8 [OAT] Mode: staged files ??scanning only currently staged files [OAT] Checking 15 staged file(s)... [OAT] Running compliance scan... [OAT] [OK] All checks passed (15 file(s) checked). [OAT] Summary: cat /opt/cloud/agent_1766041207410_XjlH2/workspace/j_IKkNK3J8/oat_reports/result.txt [OAT] oat-py not found. Installing oat-py>=1.0.1 ... [OAT] oat-py installed successfully. [OAT] Another OAT scan instance is running. Waiting... [OAT] Previous instance did not complete. Proceeding with scan... [OAT] Running OAT scan (Python Edition) ??INCREMENTAL MODE [OAT] Project: j_IKkNK3J8 [OAT] Mode: staged files ??scanning only currently staged files [OAT] Checking 15 staged file(s)... [OAT] Running compliance scan... [OAT] [OK] All checks passed (15 file(s) checked). [OAT] Summary: cat /opt/cloud/agent_1766041207410_XjlH2/workspace/j_IKkNK3J8/oat_reports/result.txt [OAT] oat-py not found. Installing oat-py>=1.0.1 ... [OAT] oat-py installed successfully. [OAT] Another OAT scan instance is running. Waiting... [OAT] Previous instance did not complete. Proceeding with scan... [OAT] Running OAT scan (Python Edition) ??INCREMENTAL MODE [OAT] Project: j_IKkNK3J8 [OAT] Mode: staged files ??scanning only currently staged files [OAT] Checking 15 staged file(s)... [OAT] Running compliance scan... [OAT] [OK] All checks passed (15 file(s) checked). [OAT] Summary: cat /opt/cloud/agent_1766041207410_XjlH2/workspace/j_IKkNK3J8/oat_reports/result.txt [OAT] oat-py not found. Installing oat-py>=1.0.1 ... [OAT] oat-py installed successfully. [OAT] Another OAT scan instance is running. Waiting... [OAT] Previous instance did not complete. Proceeding with scan... [OAT] Running OAT scan (Python Edition) ??INCREMENTAL MODE [OAT] Project: j_IKkNK3J8 [OAT] Mode: staged files ??scanning only currently staged files [OAT] Checking 15 staged file(s)... [OAT] Running compliance scan... [OAT] [OK] All checks passed (15 file(s) checked). [OAT] Summary: cat /opt/cloud/agent_1766041207410_XjlH2/workspace/j_IKkNK3J8/oat_reports/result.txt [OAT] oat-py not found. Installing oat-py>=1.0.1 ... [OAT] oat-py installed successfully. [OAT] Another OAT scan instance is running. Waiting... [OAT] Previous instance did not complete. Proceeding with scan... [OAT] Running OAT scan (Python Edition) ??INCREMENTAL MODE [OAT] Project: j_IKkNK3J8 [OAT] Mode: staged files ??scanning only currently staged files [OAT] Checking 14 staged file(s)... [OAT] Running compliance scan... [OAT] [OK] All checks passed (14 file(s) checked). [OAT] Summary: cat /opt/cloud/agent_1766041207410_XjlH2/workspace/j_IKkNK3J8/oat_reports/result.txt =================================== OAT Scan Result Summary =================================== Scan Time: 2026-07-23 09:45:58 Project: j_IKkNK3J8 Files Checked: 15 ----------------------------------- Invalid File Type Total Count: 0 ----------------------------------- License Header Invalid Total Count: 0 ===================================