Skip to content

Commit

Permalink
Merge branch 'setMinFileSize-branch' of https://github.com/kushwxha/t…
Browse files Browse the repository at this point in the history
…winTrim into setMinFileSize-branch
  • Loading branch information
kushwxha committed Oct 2, 2024
2 parents bf3c4de + 9a93bb1 commit 96bc387
Show file tree
Hide file tree
Showing 16 changed files with 775 additions and 9 deletions.
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Bug Report
about: Create a report to help us improve
title: "[Bug] "
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Documentation Request
about: Suggest changes or additions to the project documentation
title: "[Documentation] "
labels: documentation
assignees: ''

---

**What documentation needs to be updated?**
A clear and concise description of the documentation that needs to be updated.

**Describe the changes needed**
What specific changes or additions do you propose?

**Additional context**
Add any other context about the documentation request here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature Request
about: Suggest an idea for this project
title: "[Feature] "
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of the problem you're trying to solve.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/test_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Test Request
about: Request to add or modify tests for the project
title: "[Test] "
labels: test
assignees: ''

---

**Describe the test request**
A clear and concise description of what you want to test or modify in the existing tests.

**Motivation**
Explain why this test is important.

**Steps to Reproduce**
Provide any relevant steps or code snippets.

**Additional context**
Add any other context about the test request here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/workflow_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Workflow Request
about: Suggest changes to the project's workflow or process
title: "[Workflow] "
labels: workflow
assignees: ''

---

**What workflow needs to be updated?**
A clear and concise description of the workflow that needs to be updated.

**Describe the proposed changes**
What specific changes do you propose for the workflow?

**Motivation**
Explain why this change is necessary.

**Additional context**
Add any other context about the workflow request here.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Run Tests

on:
push:
branches:
- '**'
pull_request:
branches:
- '**'

jobs:
test:
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.8'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Run tests
run: |
poetry run pytest tests/*.py
103 changes: 102 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,16 @@ python = "^3.8"
click = "^8.0" # For creating CLI commands
tqdm = "^4.66.5"

[tool.poetry.group.dev.dependencies]
pytest-mock = "^3.14.0"
pytest = "^8.3.3"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.pytest.ini_options]
testpaths = ["tests"]

[tool.poetry.scripts]
twinTrim = "twinTrim.main:cli"
Loading

0 comments on commit 96bc387

Please sign in to comment.