Compare commits

..

No commits in common. "9c387eff6ae788453b3e97ef3392740f72389006" and "312c55189ed59290392f52bce9e29ac3baef8d58" have entirely different histories.

6 changed files with 11 additions and 9 deletions

View File

@ -83,7 +83,7 @@ target-version = ["py310"]
exclude = '''
/(
\.git
| \.riahub
| \.github
| \.tox
| build
| dist
@ -94,7 +94,6 @@ exclude = '''
| \.env
| \.idea
| \.vscode
| _external
)/
'''

View File

@ -1,11 +1,12 @@
from typing import Optional
import numpy as np
from bladerf import _bladerf
from ria_toolkit_oss.datatypes import Recording
from ria_toolkit_oss.sdr import SDR
from bladerf import _bladerf
class Blade(SDR):

View File

@ -5,9 +5,10 @@ from typing import Optional
import numpy as np
from ria_toolkit_oss.datatypes.recording import Recording
from ria_toolkit_oss.sdr._external.libhackrf import HackRF as hrf
from ria_toolkit_oss.sdr.sdr import SDR
from .libhackrf import HackRF as hrf
class HackRF(SDR):
def __init__(self, identifier=""):

View File

@ -1,4 +1,5 @@
# Original work by Dressel, from the pyhackrf project: https://github.com/dressel/pyhackrf
# TODO: only use transfer->valid_length in callbacks
# TODO: make error messages more informative
import logging
import os

View File

@ -24,7 +24,7 @@ commands =
[flake8]
max-line-length = 119
extend-ignore = W503, E203, E701
exclude = .git, .riahub, build, dist, docs, venv, .venv, env, .env, .idea, .vscode, .tox, _external
exclude = .git, .github, build, dist, docs, venv, .venv, env, .env, .idea, .vscode, .tox
max-complexity = 15
per-file-ignores = __init__.py:F401