kopia lustrzana https://github.com/corrscope/corrscope
rodzic
dbd1f7c4ec
commit
e3cddd7e69
|
@ -1,2 +1,2 @@
|
|||
[run]
|
||||
omit = *utils/scipy_*
|
||||
omit = *utils/scipy/*
|
||||
|
|
|
@ -4,4 +4,4 @@ repos:
|
|||
hooks:
|
||||
- id: black
|
||||
language_version: python3.6
|
||||
exclude: 'utils/scipy_'
|
||||
exclude: 'utils/scipy/'
|
||||
|
|
|
@ -5,8 +5,8 @@ from typing import TYPE_CHECKING, Type, Tuple, Optional, ClassVar
|
|||
import attr
|
||||
import numpy as np
|
||||
|
||||
import corrscope.utils.scipy_signal as signal
|
||||
import corrscope.utils.scipy_windows as windows
|
||||
import corrscope.utils.scipy.signal as signal
|
||||
import corrscope.utils.scipy.windows as windows
|
||||
from corrscope.config import KeywordAttrs, CorrError, Alias, CorrWarning
|
||||
from corrscope.util import find, obj_name
|
||||
from corrscope.utils.windows import midpad, leftpad
|
||||
|
|
|
@ -6,7 +6,7 @@ from typing import Union, List
|
|||
|
||||
import numpy as np
|
||||
|
||||
import corrscope.utils.scipy_wavfile as wavfile
|
||||
import corrscope.utils.scipy.wavfile as wavfile
|
||||
from corrscope.config import CorrError, CorrWarning, TypedEnumDump
|
||||
|
||||
FLOAT = np.single
|
||||
|
|
|
@ -42,7 +42,7 @@ html = 'scripts:html'
|
|||
[tool.black]
|
||||
line-length = 88
|
||||
py36 = true
|
||||
exclude = 'utils/scipy_'
|
||||
exclude = 'utils/scipy/'
|
||||
[build-system]
|
||||
requires = ["poetry>=0.12"]
|
||||
build-backend = "poetry.masonry.api"
|
||||
|
|
|
@ -1,15 +1,13 @@
|
|||
import warnings
|
||||
from typing import Sequence
|
||||
|
||||
from hypothesis import given
|
||||
import hypothesis.strategies as hs
|
||||
import numpy as np
|
||||
from numpy.testing import assert_allclose
|
||||
import pytest
|
||||
from delayed_assert import expect, assert_expectations
|
||||
|
||||
from corrscope.config import CorrError
|
||||
from corrscope.utils.scipy_wavfile import WavFileWarning
|
||||
from corrscope.utils.scipy.wavfile import WavFileWarning
|
||||
from corrscope.wave import Wave, Flatten
|
||||
|
||||
prefix = "tests/wav-formats/"
|
||||
|
|
Ładowanie…
Reference in New Issue