mirror of
https://github.com/iluvcapra/wavinfo.git
synced 2025-12-31 08:50:41 +00:00
Making changes to the workflows
This commit is contained in:
4
.github/workflows/python-package.yml
vendored
4
.github/workflows/python-package.yml
vendored
@@ -27,8 +27,8 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
python -m pip install pytest
|
python -m pip install --group dev
|
||||||
python -m pip install -e .
|
python -m pip install .
|
||||||
- name: Setup FFmpeg
|
- name: Setup FFmpeg
|
||||||
uses: FedericoCarboni/setup-ffmpeg@v2
|
uses: FedericoCarboni/setup-ffmpeg@v2
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -27,14 +26,8 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
python -m pip install flake8
|
python -m pip install --group dev
|
||||||
python -m pip install -e .
|
python -m pip install .
|
||||||
- name: Lint with flake8
|
- name: Lint with ruff
|
||||||
run: |
|
run: |
|
||||||
# stop the build if there are Python syntax errors or undefined names
|
ruff src
|
||||||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
|
||||||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
|
||||||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
|
||||||
- name: Lint with flake8
|
|
||||||
run: |
|
|
||||||
flake8 wavinfo
|
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
 [](https://wavinfo.readthedocs.io/en/latest/?badge=latest) 
|
 [](https://wavinfo.readthedocs.io/en/latest/?badge=latest) 
|
||||||
|
|
||||||
[](https://github.com/iluvcapra/wavinfo/actions/workflows/python-package.yml)
|
[](https://github.com/iluvcapra/wavinfo/actions/workflows/python-package.yml)
|
||||||
[](https://github.com/iluvcapra/wavinfo/actions/workflows/python-flake8.yml)
|
[](https://github.com/iluvcapra/wavinfo/actions/workflows/python-ruff.yml)
|
||||||
[](https://codecov.io/gh/iluvcapra/wavinfo)
|
[](https://codecov.io/gh/iluvcapra/wavinfo)
|
||||||
|
|
||||||
# wavinfo
|
# wavinfo
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ dependencies = [
|
|||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
dev = [
|
dev = [
|
||||||
|
"pytest>=8.3.5",
|
||||||
"ruff>=0.14.0",
|
"ruff>=0.14.0",
|
||||||
]
|
]
|
||||||
doc = [
|
doc = [
|
||||||
|
|||||||
@@ -2,5 +2,8 @@
|
|||||||
Probe WAVE Files for iXML, Broadcast-WAVE and other metadata.
|
Probe WAVE Files for iXML, Broadcast-WAVE and other metadata.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
__all__ = ['WavInfoReader', 'WavInfoEOFError']
|
||||||
|
|
||||||
from .wave_reader import WavInfoReader
|
from .wave_reader import WavInfoReader
|
||||||
from .riff_parser import WavInfoEOFError
|
from .riff_parser import WavInfoEOFError
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user