Skip to content

Commit d3347fa

Browse files
Merge pull request #73 from luca-medeiros/feat/sam2
2 parents 05c386e + 93eeed3 commit d3347fa

31 files changed

Lines changed: 657 additions & 1363 deletions

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.venv

.github/ISSUE_TEMPLATE/bugs.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bugs.yaml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: 🐛 Bugs
2+
description: Report bugs
3+
labels: ["bug"]
4+
title: "Please read & provide the following"
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
## Instructions To Reproduce the 🐛 Bug:
10+
11+
1. Background explanation
12+
13+
- type: textarea
14+
attributes:
15+
label: Full runnable code or full changes you made:
16+
description: Please provide the code or changes that led to the bug.
17+
placeholder: |
18+
```
19+
```
20+
validations:
21+
required: true
22+
23+
- type: textarea
24+
attributes:
25+
label: What exact command you ran:
26+
description: Describe the exact command you ran that triggered the bug.
27+
validations:
28+
required: true
29+
30+
- type: markdown
31+
attributes:
32+
value: |
33+
1. Please simplify the steps as much as possible so they do not require additional resources to
34+
run, such as a private dataset.
35+
36+
## Expected behavior:
37+
38+
If there are no obvious errors in "full logs" provided above,
39+
please tell us the expected behavior.
40+
41+
- type: textarea
42+
attributes:
43+
label: Expected behavior
44+
description: Describe the expected behavior if the bug had not occurred.
45+
validations:
46+
required: true
47+
48+
- type: checkboxes
49+
attributes:
50+
label: Environment
51+
description: Indicate your environment details.
52+
options:
53+
- label: "I'm using the latest version!"
54+
- label: "It's not a user-side mistake!"

.github/ISSUE_TEMPLATE/documentation.md

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: 📚 Documentation Issue
2+
description: Report a problem about existing documentation or comments.
3+
labels: ["documentation"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
## 📚 Documentation Issue
9+
10+
This issue category is for problems about existing documentation, not for asking how-to questions.
11+
12+
- type: input
13+
attributes:
14+
label: Provide a link to existing documentation/comment
15+
description: Paste the URL or path to the documentation or comment that has an issue.
16+
placeholder: "https://example.com/docs/section"
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
attributes:
22+
label: How should the above documentation/comment improve?
23+
description: Describe the changes or improvements that should be made to the documentation or comment.
24+
placeholder: "Please describe the suggested improvements here."
25+
validations:
26+
required: true

.github/ISSUE_TEMPLATE/feature-request.md

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: 🚀 Feature Request
2+
description: Suggest an improvement or new feature
3+
labels: ["enhancement"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
## 🚀 Feature
9+
10+
A clear and concise description of the feature proposal.
11+
12+
- type: textarea
13+
attributes:
14+
label: Motivation & Examples
15+
description: |
16+
Tell us why the feature is useful.
17+
18+
Describe what the feature would look like if it is implemented. Best demonstrated using **code examples** in addition to words.
19+
placeholder: |
20+
<put sample here>
21+
validations:
22+
required: true
23+
24+
- type: markdown
25+
attributes:
26+
value: |
27+
## Note
28+
29+
We only consider adding new features if they are relevant to this library.
30+
Consider if this new feature deserves to be here or should be a new library.

.github/ISSUE_TEMPLATE/unexpected-problems-bugs.md

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/pre-commit.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: pre-commit
2+
on: [push, pull_request]
3+
4+
jobs:
5+
lint:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout branch
9+
uses: actions/checkout@v3
10+
with:
11+
fetch-depth: 0
12+
13+
- name: Get changed files
14+
id: changed-files
15+
uses: tj-actions/changed-files@v35
16+
with:
17+
files: '**/*.py'
18+
19+
- name: Set up Python [3.11]
20+
uses: actions/setup-python@v1
21+
with:
22+
python-version: "3.11"
23+
24+
- name: Install pre-commit
25+
run: pip install pre-commit
26+
27+
- name: Run pre-commit on changed files
28+
run: |
29+
pre-commit run --files ${{ steps.changed-files.outputs.all_changed_files }}

0 commit comments

Comments
 (0)