lint fixes

ruff added to dev dependencies

ruff badge added to readme
This commit is contained in:
2023-10-29 09:40:10 +00:00
parent 2e1916eeaa
commit ce5936b740
8 changed files with 132 additions and 10 deletions

View File

@@ -90,7 +90,7 @@ class PhysicalStrip(Strip):
"""
EFFECTS_cls = _make_effects_mixins(is_phys)[remote.kind.name]
return type(
f"PhysicalStrip",
"PhysicalStrip",
(cls, EFFECTS_cls),
{
"comp": StripComp(remote, i),
@@ -337,7 +337,7 @@ class VirtualStrip(Strip):
"""
EFFECTS_cls = _make_effects_mixins(is_phys)[remote.kind.name]
return type(
f"VirtualStrip",
"VirtualStrip",
(cls, EFFECTS_cls),
{},
)
@@ -491,7 +491,7 @@ class GainLayer(IRemote):
def _make_gainlayer_mixin(remote, index):
"""Creates a GainLayer mixin"""
return type(
f"GainlayerMixin",
"GainlayerMixin",
(),
{
"gainlayer": tuple(