Merge pull request #34 from rlad78/dev
Skip pep8 linting on Sabnzbd Python script
This commit is contained in:
@@ -10,12 +10,11 @@ discord](https://discord.gg/n9ga99KwWC).
|
|||||||
|
|
||||||
Note that this is still in a somewhat beta state, beware!
|
Note that this is still in a somewhat beta state, beware!
|
||||||
|
|
||||||
- Bugs are around
|
- A few known bugs are present
|
||||||
- Options generally won't be changed, but I reserve the right
|
- Options probably won't be changed, but I reserve the right
|
||||||
- Some options are mostly untested
|
- Few options are mostly untested
|
||||||
|
|
||||||
The general format won't change however. If you do still use it, any feedback
|
If you do still use it, any feedback would be greatly appreciated.
|
||||||
would be greatly appreciated.
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
|
|||||||
@@ -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