Skip to content

Commit 357c54b

Browse files
authored
Merge pull request #26 from Never-Over/add-tach
add tach
2 parents a1a2a57 + b3b2b11 commit 357c54b

File tree

10 files changed

+52
-2
lines changed

10 files changed

+52
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: |
3232
python -m pip install uv
3333
uv venv
34-
uv pip install ruff pytest pytest-mock coverage pyright django-stubs
34+
uv pip install -r dev-requirements.txt
3535
uv pip install .
3636
- name: Check ruff
3737
run: |
@@ -53,3 +53,8 @@ jobs:
5353
run: |
5454
source .venv/bin/activate
5555
pytest -s -vv
56+
- name: Run tach
57+
run: |
58+
source .venv/bin/activate
59+
tach check
60+

bridge/cli/package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tags: ['bridge.cli']

bridge/framework/package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tags: ['bridge.framework']

bridge/package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tags: ['bridge']

bridge/platform/package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tags: ['bridge.platform']

bridge/service/package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tags: ['bridge.service']

bridge/utils/package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tags: ['bridge.utils']

dev-requirements.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
ruff==0.4.1
2+
pytest==8.1.1
3+
pytest-mock==3.14.0
4+
django-stubs==4.2.7
5+
pyright==1.1.360
6+
coverage==7.4.4
7+
tach==0.1.2

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "python-bridge"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
authors = [
55
{ name="Caelean Barnes", email="[email protected]" },
66
{ name="Evan Doyle", email="[email protected]" },

tach.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
constraints:
2+
bridge:
3+
depends_on:
4+
- bridge.framework
5+
bridge.cli:
6+
depends_on:
7+
- bridge
8+
- bridge.framework
9+
- bridge.service
10+
- bridge.utils
11+
bridge.framework:
12+
depends_on:
13+
- bridge.platform
14+
- bridge
15+
- bridge.service
16+
- bridge.utils
17+
bridge.platform:
18+
depends_on:
19+
- bridge.service
20+
- bridge
21+
bridge.service:
22+
depends_on:
23+
- bridge.platform
24+
- bridge
25+
- bridge.utils
26+
bridge.utils:
27+
depends_on:
28+
- bridge
29+
exclude:
30+
- tests
31+
- docs
32+
exclude_hidden_paths: true

0 commit comments

Comments
 (0)