Skip to content

Commit

Permalink
Merge pull request #89 from AndreMiras/feature/linter_fix
Browse files Browse the repository at this point in the history
🚨 Format fix
  • Loading branch information
AndreMiras authored Feb 10, 2024
2 parents 0259e0e + be25d08 commit 28af3ec
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/audio_controller_class_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Per session GetMute() SetMute() GetMasterVolume() SetMasterVolume() using
SimpleAudioVolume.
"""

from pycaw.pycaw import AudioUtilities


Expand Down
1 change: 1 addition & 0 deletions examples/audio_endpoint_volume_example.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Get and set access to master volume example.
"""

from comtypes import CLSCTX_ALL

from pycaw.pycaw import AudioUtilities, IAudioEndpointVolume
Expand Down
1 change: 1 addition & 0 deletions examples/session_callback_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
https://docs.microsoft.com/en-us/windows/win32/api/audiopolicy/nn-audiopolicy-iaudiosessionevents
"""

import time

from comtypes import COMError
Expand Down
1 change: 1 addition & 0 deletions examples/simple_audio_volume_example.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Per session GetMute() SetMute() using ISimpleAudioVolume.
"""

from pycaw.pycaw import AudioUtilities, ISimpleAudioVolume


Expand Down
1 change: 1 addition & 0 deletions examples/volume_by_process_example.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Mutes the volume of all processes, but unmutes chrome.exe process.
"""

from pycaw.pycaw import AudioUtilities


Expand Down
1 change: 1 addition & 0 deletions examples/volume_callback_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
IAudioEndpointVolumeCallback.OnNotify() example.
The OnNotify() callback method gets called on volume change.
"""

from comtypes import CLSCTX_ALL, COMObject

from pycaw.pycaw import (
Expand Down
1 change: 1 addition & 0 deletions pycaw/pycaw.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Python wrapper around the Core Audio Windows API.
"""

# import here all newly split up modules,
# to keep backwards compatibility

Expand Down
1 change: 1 addition & 0 deletions tests/test_core.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Verifies core features run as expected.
"""

import sys
import warnings
from contextlib import contextmanager
Expand Down
1 change: 1 addition & 0 deletions tests/test_examples.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Verifies examples run as expected.
"""

import pytest

from examples import (
Expand Down

0 comments on commit 28af3ec

Please sign in to comment.