Skip to content

Commit

Permalink
🚨 Format fix
Browse files Browse the repository at this point in the history
Most likely a `black` update
  • Loading branch information
AndreMiras committed Feb 9, 2024
1 parent 8aa35fb commit c9ce2f6
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 ctypes import POINTER, cast

from comtypes import CLSCTX_ALL
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 ctypes import POINTER, cast

from comtypes import CLSCTX_ALL, COMObject
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 c9ce2f6

Please sign in to comment.