Fix transcode defaults

This commit is contained in:
Labrys of Knossos 2022-12-18 20:57:44 -05:00
commit 5a0ac9dfa2
5 changed files with 37 additions and 8 deletions

1
.gitignore vendored
View file

@ -15,3 +15,4 @@
*.dist-info *.dist-info
*.egg-info *.egg-info
/.vscode /.vscode
/htmlcov/

View file

@ -10,12 +10,12 @@ repos:
- id: name-tests-test - id: name-tests-test
- id: requirements-txt-fixer - id: requirements-txt-fixer
- repo: https://github.com/asottile/add-trailing-comma - repo: https://github.com/asottile/add-trailing-comma
rev: v2.3.0 rev: v2.4.0
hooks: hooks:
- id: add-trailing-comma - id: add-trailing-comma
args: [--py36-plus] args: [--py36-plus]
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v3.3.0 rev: v3.3.1
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: [--py37-plus] args: [--py37-plus]

7
dev-requirements.txt Normal file
View file

@ -0,0 +1,7 @@
black
bump2version
mypy
pre-commit
pylint[spelling]
pytest
tox

File diff suppressed because one or more lines are too long

7
tests/ffmpeg_test.py Normal file
View file

@ -0,0 +1,7 @@
import nzb2media
def test_has_ffmpeg():
nzb2media.configure_utility_locations()
assert nzb2media.FFMPEG is not None
assert nzb2media.FFMPEG.exists()