-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
1,029 additions
and
1,189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Lint | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
pull_request: | ||
|
||
jobs: | ||
pyright: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.10", "3.11"] | ||
fail-fast: false | ||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected] | ||
|
||
- name: Set up python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install pipenv | ||
run: python3 -m pip install --upgrade pipenv wheel --break-system-packages | ||
|
||
- name: Install Deps from Pipfile | ||
run: pipenv install --dev | ||
|
||
- name: Add Virtualenv to Path for Pyright to use | ||
run: echo "$(pipenv --venv)/bin" >> $GITHUB_PATH | ||
|
||
- name: Run pyright (Linux) | ||
uses: jakebailey/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
python-platform: Linux | ||
no-comments: true | ||
warnings: true | ||
|
||
- name: Run pyright (Windows) | ||
uses: jakebailey/[email protected] | ||
# run anyway | ||
if: success() || failure() | ||
with: | ||
version: ${{ env.PYRIGHT_VERSION }} | ||
python-version: ${{ matrix.python-version }} | ||
python-platform: Windows | ||
no-comments: true | ||
warnings: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"recommendations": [ | ||
"microsoft.python", | ||
"eeyore.yapf", | ||
"ms-python.mypy-type-checker", | ||
"swyddfa.esbonio" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"esbonio.sphinx.confDir": "", | ||
"python.formatting.provider": "none", | ||
"[python]": { | ||
"editor.formatOnSaveMode": "file", | ||
"editor.formatOnSave": true, | ||
"editor.defaultFormatter": "eeyore.yapf" | ||
}, | ||
"mypy-type-checker.args": [ | ||
"--follow-imports=silent", | ||
"--ignore-missing-imports", | ||
"--show-column-numbers", | ||
"--no-pretty", | ||
"--strict" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
Robert Nitsch | ||
Charlie Unfricht | ||
Robert Nitsch @rsnitsch | ||
Charlie Unfricht @cpurules | ||
@ToasterUwU |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
# Building | ||
|
||
``` | ||
python setup.py sdist | ||
python setup.py bdist_wheel | ||
``` | ||
|
||
# Uploading | ||
|
||
``` | ||
twine upload --skip-existing dist/* | ||
twine upload --skip-existing --repository testpypi dist/* | ||
``` | ||
|
||
# Testing | ||
|
||
```sh | ||
pip install py3createtorrent | ||
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple py3createtorrent | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.