force skip on pep8 lint for sabnzbd python script (and import pkgs)
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
@@ -152,6 +153,7 @@ in {
|
|||||||
apply-user-configs-script = pkgs.writers.writePython3Bin "sabnzbd-set-user-values" {
|
apply-user-configs-script = pkgs.writers.writePython3Bin "sabnzbd-set-user-values" {
|
||||||
libraries = [pkgs.python3Packages.configobj];
|
libraries = [pkgs.python3Packages.configobj];
|
||||||
} ''
|
} ''
|
||||||
|
# flake8: noqa
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from configobj import ConfigObj
|
from configobj import ConfigObj
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user