git-copilot-commit 0.1.3__tar.gz → 0.1.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,44 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+ release:
9
+ types: [published]
10
+
11
+ jobs:
12
+ test:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+
17
+ - name: Install uv
18
+ uses: astral-sh/setup-uv@v6
19
+
20
+ - name: Install the project
21
+ run: uv sync --locked --all-extras --dev
22
+
23
+ - name: Run linting
24
+ run: uvx ruff check
25
+
26
+ - name: Run type checking
27
+ run: uvx ty check
28
+
29
+ publish:
30
+ if: github.event_name == 'release' && github.event.action == 'published'
31
+ runs-on: ubuntu-latest
32
+ steps:
33
+ - uses: actions/checkout@v4
34
+
35
+ - name: Install uv
36
+ uses: astral-sh/setup-uv@v6
37
+
38
+ - name: Install the project
39
+ run: uv sync --locked --all-extras --dev
40
+
41
+ - name: Build and publish package
42
+ run: |
43
+ uv build
44
+ uv publish --token ${{ secrets.PYPI_TOKEN }}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: git-copilot-commit
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: Automatically generate and commit changes using copilot
5
5
  Author-email: Dheepak Krishnamurthy <1813121+kdheepak@users.noreply.github.com>
6
6
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "git-copilot-commit"
3
- version = "0.1.3"
3
+ version = "0.1.4"
4
4
  description = "Automatically generate and commit changes using copilot"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -1,7 +1,7 @@
1
1
  import subprocess
2
2
  from pathlib import Path
3
3
  from dataclasses import dataclass
4
- from typing import List, Tuple, Optional, Union
4
+ from typing import List, Tuple, Optional
5
5
  from enum import Enum
6
6
 
7
7
 
@@ -78,7 +78,7 @@ wheels = [
78
78
 
79
79
  [[package]]
80
80
  name = "git-copilot-commit"
81
- version = "0.1.3"
81
+ version = "0.1.4"
82
82
  source = { editable = "." }
83
83
  dependencies = [
84
84
  { name = "pycopilot" },