Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Tach to define module boundaries #295

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/tach-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

name: Tach Check

on: [pull_request]

jobs:
tach-check:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11' # Specify the version of Python you need

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tach

- name: Run Tach
run: tach check
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ dependencies = [
"requests==2.31.0",
"psutil==5.9.8",
"packaging==23.2",
"termcolor==2.4.0"
"termcolor==2.4.0",
]
[project.optional-dependencies]
dev = [
"pytest==7.4.0",
"requests_mock==1.11.0"
"requests_mock==1.11.0",
"tach==0.6.9",
]
langchain = [
"langchain~=1.19"
Expand Down
95 changes: 95 additions & 0 deletions tach.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/gauge-sh/tach/v0.6.9/public/tach-yml-schema.json
modules:
- path: agentops
depends_on:
- agentops.agent
- agentops.client
- agentops.config
- agentops.decorators
- agentops.event
- agentops.log_config
- agentops.partners
- agentops.session
- path: agentops.agent
depends_on:
- agentops
- agentops.log_config
- path: agentops.client
depends_on:
- agentops.config
- agentops.enums
- agentops.event
- agentops.exceptions
- agentops.helpers
- agentops.host_env
- agentops.llm_tracker
- agentops.log_config
- agentops.meta_client
- agentops.partners
- agentops.session
- path: agentops.config
depends_on:
- agentops.exceptions
- path: agentops.decorators
depends_on:
- agentops
- agentops.client
- agentops.session
- path: agentops.enums
depends_on: []
- path: agentops.event
depends_on:
- agentops.enums
- agentops.helpers
- path: agentops.exceptions
depends_on:
- agentops.log_config
- path: agentops.helpers
depends_on:
- agentops.log_config
- path: agentops.host_env
depends_on:
- agentops.helpers
- agentops.log_config
- path: agentops.http_client
depends_on:
- agentops.log_config
- path: agentops.langchain_callback_handler
depends_on:
- agentops
- agentops.helpers
- path: agentops.llm_tracker
depends_on:
- agentops.event
- agentops.helpers
- agentops.log_config
- agentops.session
- path: agentops.log_config
depends_on: []
- path: agentops.meta_client
depends_on:
- agentops.helpers
- agentops.host_env
- agentops.http_client
- agentops.log_config
- path: agentops.partners
depends_on:
- agentops
- agentops.enums
- agentops.helpers
- agentops.log_config
- path: agentops.session
depends_on:
- agentops.config
- agentops.event
- agentops.helpers
- agentops.http_client
- agentops.log_config
exclude:
- .*__pycache__
- .*egg-info
- docs
- examples
- tests
- venv
source_root: .
Loading