Skip to content

Commit 7e43ec6

Browse files
author
SoundsSerious
committed
Merge commit '58186f4157f8f7528c9ec5f0f2e58a427f851645'
2 parents 3b01b97 + 58186f4 commit 7e43ec6

File tree

13 files changed

+196
-256
lines changed

13 files changed

+196
-256
lines changed

.claude/settings.local.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"permissions": {
33
"allow": [
4-
"Bash(mkdir:*)"
4+
"Bash(mkdir:*)",
5+
"Bash(python:*)",
6+
"Bash(pip install:*)",
7+
"Bash(pytest:*)",
8+
"Bash(git rm:*)"
59
],
610
"deny": [],
711
"ask": []

.github/workflows/main.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ on:
77
- '**/*.py'
88
- 'pyproject.toml'
99
- 'requirements*.txt'
10+
workflow_dispatch:
11+
inputs:
12+
reason:
13+
description: 'Reason for manual trigger'
14+
required: false
15+
default: 'Manual release'
1016

1117
permissions:
1218
contents: write
@@ -39,14 +45,14 @@ jobs:
3945
- name: Test installation
4046
run: |
4147
python -c "import diffgetr; print('Package imported successfully')"
42-
diffgetr --help || echo "CLI help command executed"
48+
python -c "from diffgetr.diff_get import main; print('CLI function available')"
4349
4450
- name: Run unit tests
4551
run: |
4652
pytest tests/ -v
4753
4854
- name: Upload build artifacts
49-
uses: actions/upload-artifact@v3
55+
uses: actions/upload-artifact@v4
5056
with:
5157
name: dist
5258
path: dist/
@@ -59,7 +65,7 @@ jobs:
5965
- uses: actions/checkout@v4
6066

6167
- name: Download build artifacts
62-
uses: actions/download-artifact@v3
68+
uses: actions/download-artifact@v4
6369
with:
6470
name: dist
6571
path: dist/
@@ -107,7 +113,7 @@ jobs:
107113
"
108114
109115
- name: Download build artifacts
110-
uses: actions/download-artifact@v3
116+
uses: actions/download-artifact@v4
111117
with:
112118
name: dist
113119
path: dist/

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
- name: Test installation
8484
run: |
8585
python -c "import diffgetr; print('Package imported successfully')"
86-
diffgetr --help || echo "CLI help command executed"
86+
python -c "from diffgetr.diff_get import main; print('CLI function available')"
8787
8888
- name: Run unit tests
8989
run: |

.gitignore

Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
share/python-wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
MANIFEST
28+
29+
# Build artifacts
30+
/dist/
31+
**/*.egg-info
32+
**/__pycache__
33+
34+
# PyInstaller
35+
# Usually these files are written by a python script from a template
36+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
37+
*.manifest
38+
*.spec
39+
40+
# Installer logs
41+
pip-log.txt
42+
pip-delete-this-directory.txt
43+
44+
# Unit test / coverage reports
45+
htmlcov/
46+
.tox/
47+
.nox/
48+
.coverage
49+
.coverage.*
50+
.cache
51+
nosetests.xml
52+
coverage.xml
53+
*.cover
54+
*.py,cover
55+
.hypothesis/
56+
.pytest_cache/
57+
cover/
58+
59+
# Translations
60+
*.mo
61+
*.pot
62+
63+
# Django stuff:
64+
*.log
65+
local_settings.py
66+
db.sqlite3
67+
db.sqlite3-journal
68+
69+
# Flask stuff:
70+
instance/
71+
.webassets-cache
72+
73+
# Scrapy stuff:
74+
.scrapy
75+
76+
# Sphinx documentation
77+
docs/_build/
78+
79+
# PyBuilder
80+
.pybuilder/
81+
target/
82+
83+
# Jupyter Notebook
84+
.ipynb_checkpoints
85+
86+
# IPython
87+
profile_default/
88+
ipython_config.py
89+
90+
# pyenv
91+
# For a library or package, you might want to ignore these files since the code is
92+
# intended to run in multiple environments; otherwise, check them in:
93+
# .python-version
94+
95+
# pipenv
96+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
97+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
98+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
99+
# install all needed dependencies.
100+
#Pipfile.lock
101+
102+
# poetry
103+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
104+
# This is especially recommended for binary packages to ensure reproducibility, and is more
105+
# commonly ignored for libraries.
106+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
107+
#poetry.lock
108+
109+
# pdm
110+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
111+
#pdm.lock
112+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
113+
# in version control.
114+
# https://pdm.fming.dev/#use-with-ide
115+
.pdm.toml
116+
117+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
118+
__pypackages__/
119+
120+
# Celery stuff
121+
celerybeat-schedule
122+
celerybeat.pid
123+
124+
# SageMath parsed files
125+
*.sage.py
126+
127+
# Environments
128+
.env
129+
.venv
130+
env/
131+
venv/
132+
ENV/
133+
env.bak/
134+
venv.bak/
135+
136+
# Spyder project settings
137+
.spyderproject
138+
.spyproject
139+
140+
# Rope project settings
141+
.ropeproject
142+
143+
# mkdocs documentation
144+
/site
145+
146+
# mypy
147+
.mypy_cache/
148+
.dmypy.json
149+
dmypy.json
150+
151+
# Pyre type checker
152+
.pyre/
153+
154+
# pytype static type analyzer
155+
.pytype/
156+
157+
# Cython debug symbols
158+
cython_debug/
159+
160+
# PyCharm
161+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
162+
# be added to the global gitignore or merged into this project gitignore. For a PyCharm
163+
# project, it is recommended to exclude .idea/
164+
.idea/
165+
166+
# VS Code
167+
.vscode/
168+
169+
# macOS
170+
.DS_Store
171+
172+
# Windows
173+
Thumbs.db
174+
ehthumbs.db
175+
Desktop.ini
176+
177+
# Build artifacts specific to this project
178+
diffgetr-*/

0 commit comments

Comments
 (0)