Skip to content

Commit 0fdc42c

Browse files
committed
chore: initial commit
0 parents  commit 0fdc42c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1195
-0
lines changed

.all-contributorsrc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"projectName": "so-vits-svc-fork",
3+
"projectOwner": "34j",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": [
7+
"README.md"
8+
],
9+
"imageSize": 80,
10+
"commit": true,
11+
"commitConvention": "angular",
12+
"contributors": [],
13+
"contributorsPerLine": 7,
14+
"skipCi": true
15+
}

.copier-answers.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Changes here will be overwritten by Copier
2+
_commit: 2b33a13
3+
_src_path: gh:34j/pypackage-template-fork
4+
add_me_as_contributor: true
5+
copyright_year: '2023'
6+
documentation: true
7+
8+
full_name: 34j
9+
github_username: 34j
10+
initial_commit: true
11+
open_source_license: MIT
12+
open_with_vscode: true
13+
package_name: so_vits_svc_fork
14+
project_name: SoftVC VITS Singing Voice Conversion Fork
15+
project_short_description: A fork of so-vits-svc.
16+
project_slug: so-vits-svc-fork
17+
run_poetry_install: true
18+
setup_github: true
19+
setup_pre_commit: true
20+
setup_venv: true
21+
venv_version: '3.10'
22+

.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
indent_style = space
7+
indent_size = 4
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
charset = utf-8
11+
end_of_line = lf
12+
13+
[*.bat]
14+
indent_style = tab
15+
end_of_line = crlf
16+
17+
[LICENSE]
18+
insert_final_newline = false
19+
20+
[Makefile]
21+
indent_style = tab

.flake8

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[flake8]
2+
exclude = docs
3+
max-line-length = 88

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: ["34j"]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
labels: bug
5+
---
6+
7+
**Describe the bug**
8+
A clear and concise description of what the bug is.
9+
10+
**To Reproduce**
11+
Steps to reproduce the behavior:
12+
13+
**Additional context**
14+
Add any other context about the problem here.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
labels: enhancement
5+
---
6+
7+
**Is your feature request related to a problem? Please describe.**
8+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9+
10+
**Describe the solution you'd like**
11+
A clear and concise description of what you want to happen.
12+
13+
**Additional context**
14+
Add any other context or screenshots about the feature request here.

.github/labels.toml

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
[breaking]
2+
color = "ffcc00"
3+
name = "breaking"
4+
description = "Breaking change."
5+
6+
[bug]
7+
color = "d73a4a"
8+
name = "bug"
9+
description = "Something isn't working"
10+
11+
[dependencies]
12+
color = "0366d6"
13+
name = "dependencies"
14+
description = "Pull requests that update a dependency file"
15+
16+
[github_actions]
17+
color = "000000"
18+
name = "github_actions"
19+
description = "Update of github actions"
20+
21+
[documentation]
22+
color = "1bc4a5"
23+
name = "documentation"
24+
description = "Improvements or additions to documentation"
25+
26+
[duplicate]
27+
color = "cfd3d7"
28+
name = "duplicate"
29+
description = "This issue or pull request already exists"
30+
31+
[enhancement]
32+
color = "a2eeef"
33+
name = "enhancement"
34+
description = "New feature or request"
35+
36+
["good first issue"]
37+
color = "7057ff"
38+
name = "good first issue"
39+
description = "Good for newcomers"
40+
41+
["help wanted"]
42+
color = "008672"
43+
name = "help wanted"
44+
description = "Extra attention is needed"
45+
46+
[invalid]
47+
color = "e4e669"
48+
name = "invalid"
49+
description = "This doesn't seem right"
50+
51+
[nochangelog]
52+
color = "555555"
53+
name = "nochangelog"
54+
description = "Exclude pull requests from changelog"
55+
56+
[question]
57+
color = "d876e3"
58+
name = "question"
59+
description = "Further information is requested"
60+
61+
[removed]
62+
color = "e99695"
63+
name = "removed"
64+
description = "Removed piece of functionalities."
65+
66+
[tests]
67+
color = "bfd4f2"
68+
name = "tests"
69+
description = "CI, CD and testing related changes"
70+
71+
[wontfix]
72+
color = "ffffff"
73+
name = "wontfix"
74+
description = "This will not be worked on"
75+
76+
[discussion]
77+
color = "c2e0c6"
78+
name = "discussion"
79+
description = "Some discussion around the project"
80+
81+
[hacktoberfest]
82+
color = "ffa663"
83+
name = "hacktoberfest"
84+
description = "Good issues for Hacktoberfest"
85+
86+
[answered]
87+
color = "0ee2b6"
88+
name = "answered"
89+
description = "Automatically closes as answered after a delay"
90+
91+
[waiting]
92+
color = "5f7972"
93+
name = "waiting"
94+
description = "Automatically closes if no answer after a delay"

.github/workflows/ci.yml

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
concurrency:
10+
group: ${{ github.head_ref || github.run_id }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
lint:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-python@v4
19+
with:
20+
python-version: "3.9"
21+
- uses: pre-commit/[email protected]
22+
23+
# Make sure commit messages follow the conventional commits convention:
24+
# https://www.conventionalcommits.org
25+
commitlint:
26+
name: Lint Commit Messages
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v3
30+
with:
31+
fetch-depth: 0
32+
- uses: wagoid/[email protected]
33+
34+
test:
35+
strategy:
36+
fail-fast: false
37+
matrix:
38+
python-version:
39+
- "3.8"
40+
- "3.9"
41+
- "3.10"
42+
- "3.11"
43+
os:
44+
- ubuntu-latest
45+
# - windows-latest
46+
# - macOS-latest
47+
runs-on: ${{ matrix.os }}
48+
steps:
49+
- uses: actions/checkout@v3
50+
- name: Set up Python
51+
uses: actions/setup-python@v4
52+
with:
53+
python-version: ${{ matrix.python-version }}
54+
- uses: snok/[email protected]
55+
- name: Install Dependencies
56+
run: poetry install
57+
shell: bash
58+
- name: Test with Pytest
59+
run: poetry run pytest --cov-report=xml
60+
shell: bash
61+
- name: Upload coverage to Codecov
62+
uses: codecov/codecov-action@v3
63+
with:
64+
token: ${{ secrets.CODECOV_TOKEN }}
65+
66+
release:
67+
runs-on: ubuntu-latest
68+
environment: release
69+
if: github.ref == 'refs/heads/main'
70+
needs:
71+
- test
72+
- lint
73+
- commitlint
74+
75+
steps:
76+
- uses: actions/checkout@v3
77+
with:
78+
fetch-depth: 0
79+
80+
# Run semantic release:
81+
# - Update CHANGELOG.md
82+
# - Update version in code
83+
# - Create git tag
84+
# - Create GitHub release
85+
# - Publish to PyPI
86+
- name: Python Semantic Release
87+
uses: relekang/[email protected]
88+
with:
89+
github_token: ${{ secrets.GITHUB_TOKEN }}
90+
pypi_token: ${{ secrets.PYPI_TOKEN }}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Hacktoberfest
2+
3+
on:
4+
schedule:
5+
# Run every day in October
6+
- cron: "0 0 * 10 *"
7+
# Run on the 1st of November to revert
8+
- cron: "0 13 1 11 *"
9+
10+
jobs:
11+
hacktoberfest:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: browniebroke/[email protected]
16+
with:
17+
github_token: ${{ secrets.GH_PAT }}

0 commit comments

Comments
 (0)