Skip to content

Commit d521c3e

Browse files
authored
Merge pull request #84 from Eve-ning/0.1.6
0.1.6
2 parents 6d19c84 + 1946b41 commit d521c3e

File tree

800 files changed

+15915
-551924
lines changed

Some content is hidden

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

800 files changed

+15915
-551924
lines changed

.gitattributes

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# Auto detect text files and perform LF normalization
22
* text=auto
3-
43
docs/* linguist-vendored
5-
6-
sphinx/* linguist-vendored
4+
sphinx/* linguist-vendored
5+
*.ojn filter=lfs diff=lfs merge=lfs -text
6+
*.bms filter=lfs diff=lfs merge=lfs -text
7+
*.bme filter=lfs diff=lfs merge=lfs -text
8+
*.bml filter=lfs diff=lfs merge=lfs -text
9+
*.osu filter=lfs diff=lfs merge=lfs -text
10+
*.sm filter=lfs diff=lfs merge=lfs -text
11+
*.pms filter=lfs diff=lfs merge=lfs -text
12+
*.qua filter=lfs diff=lfs merge=lfs -text
13+
*.osr filter=lfs diff=lfs merge=lfs -text
14+
.pkl filter=lfs diff=lfs merge=lfs -text
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Dependency Review Action
2+
#
3+
# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.
4+
#
5+
# Source repository: https://github.com/actions/dependency-review-action
6+
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
7+
name: 'Dependency Review'
8+
on: [pull_request]
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
dependency-review:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: 'Checkout Repository'
18+
uses: actions/checkout@v3
19+
- name: 'Dependency Review'
20+
uses: actions/dependency-review-action@v1

.github/workflows/python-package.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+
name: Python package
5+
6+
on:
7+
push:
8+
branches: [ "master" ]
9+
pull_request:
10+
11+
jobs:
12+
build:
13+
14+
runs-on: ubuntu-latest
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
python-version: ["3.7", "3.8", "3.9"]
19+
20+
steps:
21+
- uses: actions/checkout@v3
22+
with:
23+
lfs: true
24+
- name: Set up Python ${{ matrix.python-version }}
25+
uses: actions/setup-python@v3
26+
with:
27+
python-version: ${{ matrix.python-version }}
28+
- name: Install dependencies
29+
run: |
30+
python -m pip install --upgrade pip
31+
python -m pip install flake8 pytest
32+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
33+
- name: Lint with flake8
34+
run: |
35+
# stop the build if there are Python syntax errors or undefined names
36+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
37+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
38+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
39+
- name: Test with pytest
40+
run: |
41+
pytest

.github/workflows/python-publish.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# This workflow will upload a Python Package using Twine when a release is created
2+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3+
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
9+
name: Upload Python Package
10+
11+
on:
12+
release:
13+
types: [published]
14+
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
deploy:
20+
21+
runs-on: ubuntu-latest
22+
23+
steps:
24+
- uses: actions/checkout@v3
25+
- name: Set up Python
26+
uses: actions/setup-python@v3
27+
with:
28+
python-version: '3.x'
29+
- name: Install dependencies
30+
run: |
31+
python -m pip install --upgrade pip
32+
pip install build
33+
- name: Build package
34+
run: python -m build
35+
- name: Publish package
36+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
37+
with:
38+
user: __token__
39+
password: ${{ secrets.PYPI_API_TOKEN }}

.gitignore

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
1-
depr/
2-
venv/
31
.idea/
42
build/*
53
dist/
6-
*.mp3
7-
*.pyc
8-
reamber.egg-info*
9-
.examples
4+
.pytest_cache
105
.rsc
116
.pypirc
127
.scratch
13-
*.ojn
14-
*.ojm
15-
*.bms
16-
*.bme
17-
.config/
18-
rsc/images
19-
*.bat
208
sphinx/build/*
9+
reamber.egg-info/*
10+
11+
reamber/algorithms/generate/_sv/**/*
12+
13+
*.mp3
14+
*.pyc
15+
*.pclprof
16+
*.ojm

.run/Make Sphinx.run.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="Make Sphinx" type="ShConfigurationType">
3+
<option name="SCRIPT_TEXT" value="" />
4+
<option name="INDEPENDENT_SCRIPT_PATH" value="false" />
5+
<option name="SCRIPT_PATH" value="$PROJECT_DIR$/sphinx/make.bat" />
6+
<option name="SCRIPT_OPTIONS" value="html" />
7+
<option name="INDEPENDENT_SCRIPT_WORKING_DIRECTORY" value="true" />
8+
<option name="SCRIPT_WORKING_DIRECTORY" value="$PROJECT_DIR$" />
9+
<option name="INDEPENDENT_INTERPRETER_PATH" value="true" />
10+
<option name="INTERPRETER_PATH" value="" />
11+
<option name="INTERPRETER_OPTIONS" value="" />
12+
<option name="EXECUTE_IN_TERMINAL" value="true" />
13+
<option name="EXECUTE_SCRIPT_FILE" value="true" />
14+
<envs />
15+
<method v="2" />
16+
</configuration>
17+
</component>

build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
python3 setup.py sdist bdist_wheel
1+
python setup.py sdist bdist_wheel

docs/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: eba793f0287edcb03ce003de7bda82c7
3+
config: bae5b29be5f0ce67947980e00b39fc25
44
tags: 645f666f9bcd5a90fca523b33c5a78b7
-19.1 KB
Binary file not shown.

docs/.doctrees/devInfo/Props.doctree

-11.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)