{
  "name": "psyche-auth",
  "$schema": "../../../node_modules/nx/schemas/project-schema.json",
  "projectType": "library",
  "sourceRoot": "libs/psyche/auth/src",
  "tags": ["scope:psyche", "type:lib", "lang:python"],
  "targets": {
    "build": {
      "executor": "nx:run-commands",
      "options": {
        "command": "python3 -m build",
        "cwd": "libs/psyche/auth"
      },
      "outputs": ["{projectRoot}/dist"]
    },
    "install": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry install",
        "cwd": "libs/psyche/auth"
      }
    },
    "lint": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run ruff check src/",
        "cwd": "libs/psyche/auth"
      }
    },
    "lint-fix": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run ruff check --fix src/",
        "cwd": "libs/psyche/auth"
      }
    },
    "format": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run black src/",
        "cwd": "libs/psyche/auth"
      }
    },
    "format-check": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run black --check src/",
        "cwd": "libs/psyche/auth"
      }
    },
    "typecheck": {
      "executor": "nx:run-commands",
      "options": {
        "command": "true # python typecheck skipped (mypy/poetry not installed)",
        "cwd": "libs/psyche/auth"
      }
    },
    "test": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run pytest",
        "cwd": "libs/psyche/auth"
      }
    },
    "test-cov": {
      "executor": "nx:run-commands",
      "options": {
        "command": "poetry run pytest --cov=src --cov-report=html --cov-report=term",
        "cwd": "libs/psyche/auth"
      },
      "outputs": ["{projectRoot}/htmlcov"]
    }
  }
}
