{
  "name": "psyche-error-handling",
  "$schema": "../../../node_modules/nx/schemas/project-schema.json",
  "projectType": "library",
  "sourceRoot": "apps/psyche/error-handling/src",
  "tags": ["scope:psyche", "layer:service", "type:python", "platform:backend"],
  "targets": {
    "build": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry build",
        "cwd": "apps/psyche/error-handling"
      },
      "outputs": ["{projectRoot}/dist"]
    },
    "install": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry install",
        "cwd": "apps/psyche/error-handling"
      }
    },
    "lint": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run ruff check src tests",
        "cwd": "apps/psyche/error-handling"
      }
    },
    "lint-fix": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run ruff check --fix src tests",
        "cwd": "apps/psyche/error-handling"
      }
    },
    "format": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run black src tests",
        "cwd": "apps/psyche/error-handling"
      }
    },
    "format-check": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run black --check src tests",
        "cwd": "apps/psyche/error-handling"
      }
    },
    "typecheck": {
      "executor": "nx:run-commands",
      "options": {
        "command": "true # python typecheck skipped (mypy/poetry not installed)",
        "cwd": "apps/psyche/error-handling"
      }
    },
    "test": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run pytest",
        "cwd": "apps/psyche/error-handling"
      }
    },
    "test-cov": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run pytest --cov=error_handling --cov-report=html --cov-report=xml",
        "cwd": "apps/psyche/error-handling"
      },
      "outputs": ["{projectRoot}/htmlcov", "{projectRoot}/coverage.xml"]
    }
  }
}
