From 5fa9c3bc6f6958db011b422c6a9b8050825e871b Mon Sep 17 00:00:00 2001 From: Robin Scheibler Date: Mon, 28 Oct 2024 08:03:17 +0900 Subject: [PATCH] lint --- .github/workflows/pythonpackage.yml | 4 ++-- examples/directivities/plot_directivity_3D.py | 1 + .../directivities/simulation_with_measured_directivity.py | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index e606c534..d06fa074 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -38,8 +38,8 @@ jobs: - name: Upgrade pip run: | python -m pip install --upgrade pip - - name: Workaround for windows and python 3.7 - if: matrix.os == 'windows-latest' && matrix.python-version == 3.7 + - name: Workaround for windows and python 3.8 + if: matrix.os == 'windows-latest' && matrix.python-version == 3.8 run: | pip install netCDF4<=1.5.8 # There is no binary package of netCF4>=1.6.0 for windows and python 3.7 diff --git a/examples/directivities/plot_directivity_3D.py b/examples/directivities/plot_directivity_3D.py index 8d3e3688..bafa3764 100644 --- a/examples/directivities/plot_directivity_3D.py +++ b/examples/directivities/plot_directivity_3D.py @@ -1,5 +1,6 @@ import matplotlib.pyplot as plt import numpy as np + from pyroomacoustics.directivities import DirectionVector, HyperCardioid orientation = DirectionVector(azimuth=0, colatitude=45, degrees=True) diff --git a/examples/directivities/simulation_with_measured_directivity.py b/examples/directivities/simulation_with_measured_directivity.py index 55d4d416..f4291666 100644 --- a/examples/directivities/simulation_with_measured_directivity.py +++ b/examples/directivities/simulation_with_measured_directivity.py @@ -50,6 +50,7 @@ """ import matplotlib.pyplot as plt + import pyroomacoustics as pra from pyroomacoustics.directivities import ( Cardioid,