Skip to content

tpancholi/full_stack_gen_ai_with_python

Repository files navigation

Support repo for my gen_ai and agentic_ai work

Setup

  • please make sure script is executable
chmod +x scripts/dev.py
  • To add dev dependencies
uv add --dev nbstripout nbconvert ruff pyright bandit detect-secrets pre-commit safety
  • To setup pre-commit hook
uv run pre-commit install
  • Auto update pre-commit config file
uv run pre-commit autoupdate
  • create baseline files
uv run detect-secrets scan --all-files --exclude-files '\.git/.*|\.venv/.*|node_modules/.*|\.ruff_cache/.*' > .secrets.baseline
  • create bandit baseline file
uv run bandit -r . -f json -o bandit-report.json
  • audit secret baseline file
uv run detect-secrets audit .secrets.baseline

important commands

  • To update pre-commit automatically
uv run pre-commit autoupdate
  • To validate pre-commit config
uv run pre-commit validate-config .pre-commit-config.yaml
  • To test github action in local environment using docker and act tool
act  --container-architecture linux/amd64

About

My experiment in gen ai and agentic ai

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published