-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: encoding, path to NZBfile on Windows, code formatting, round the…
… max failed limit (#5) - fixed a UnicodeEncodeError exception that occurs when using special characters in names; - fixed several "NoneType" errors; - fixed wrong path to NZB file on Windows; - rounded the failed limit precision value; - added tests and pipeline for tests; - formatted the code using Black.
- Loading branch information
Showing
10 changed files
with
1,564 additions
and
727 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,19 @@ | ||
name: tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- feature/* | ||
- master | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
tests: | ||
uses: nzbgetcom/nzbget-extensions/.github/workflows/python-tests.yml@main | ||
with: | ||
python-versions: "3.3 3.4 3.5 3.6 3.7 3.8 3.9 3.10 3.11 3.12" | ||
supported-python-versions: "3.8 3.9 3.10 3.11 3.12" | ||
test-script: tests.py | ||
debug: 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 @@ | ||
__pycache__ |
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.