test/isort: apply diff to full tree
Apply the isort modifications to the entire source tree, not just the selected python files of test-src. Signed-off-by: David Rheinsberg <david.rheinsberg@gmail.com>
This commit is contained in:
parent
5aaa4e602e
commit
4b09088661
14 changed files with 6 additions and 24 deletions
|
|
@ -20,14 +20,11 @@ documentation for `osbuil.util.udev.UdevInhibitor`.
|
|||
import argparse
|
||||
import os
|
||||
import sys
|
||||
|
||||
from typing import Dict
|
||||
|
||||
from osbuild import devices
|
||||
from osbuild import loop
|
||||
from osbuild import devices, loop
|
||||
from osbuild.util.udev import UdevInhibitor
|
||||
|
||||
|
||||
SCHEMA = """
|
||||
"additionalProperties": false,
|
||||
"required": ["filename"],
|
||||
|
|
|
|||
|
|
@ -19,13 +19,11 @@ import stat
|
|||
import subprocess
|
||||
import sys
|
||||
import uuid
|
||||
|
||||
from typing import Dict, Optional
|
||||
|
||||
from osbuild import devices
|
||||
from osbuild.util.udev import UdevInhibitor
|
||||
|
||||
|
||||
SCHEMA = """
|
||||
"additionalProperties": false,
|
||||
"required": ["passphrase"],
|
||||
|
|
|
|||
|
|
@ -34,12 +34,10 @@ import stat
|
|||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
|
||||
from typing import Dict, Tuple, Union
|
||||
|
||||
from osbuild import devices
|
||||
|
||||
|
||||
SCHEMA = """
|
||||
"additionalProperties": false,
|
||||
"required": ["volume"],
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ import sys
|
|||
|
||||
from osbuild import inputs
|
||||
|
||||
|
||||
SCHEMA = r"""
|
||||
"definitions": {
|
||||
"source-options": {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ import sys
|
|||
|
||||
from osbuild import inputs
|
||||
|
||||
|
||||
SCHEMA = r"""
|
||||
"definitions": {
|
||||
"metadata": {
|
||||
|
|
|
|||
|
|
@ -12,14 +12,13 @@ contain `ref` it was specified.
|
|||
"""
|
||||
|
||||
|
||||
import os
|
||||
import json
|
||||
import sys
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
from osbuild import inputs
|
||||
|
||||
|
||||
SCHEMA = """
|
||||
"definitions": {
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -8,14 +8,13 @@ Internally uses `ostree checkout`
|
|||
"""
|
||||
|
||||
|
||||
import os
|
||||
import json
|
||||
import sys
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
from osbuild import inputs
|
||||
|
||||
|
||||
SCHEMA = """
|
||||
"additionalProperties": false,
|
||||
"required": ["type", "origin", "references"],
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ import sys
|
|||
|
||||
from osbuild import inputs
|
||||
|
||||
|
||||
SCHEMA = """
|
||||
"additionalProperties": false,
|
||||
"required": ["type", "origin", "references"],
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ from typing import Dict
|
|||
|
||||
from osbuild import mounts
|
||||
|
||||
|
||||
SCHEMA_2 = """
|
||||
"additionalProperties": false,
|
||||
"required": ["name", "type", "source", "target"],
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ from typing import Dict
|
|||
|
||||
from osbuild import mounts
|
||||
|
||||
|
||||
SCHEMA_2 = """
|
||||
"additionalProperties": false,
|
||||
"required": ["name", "type", "source", "target"],
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ from typing import Dict
|
|||
|
||||
from osbuild import mounts
|
||||
|
||||
|
||||
SCHEMA_2 = """
|
||||
"additionalProperties": false,
|
||||
"required": ["name", "type", "source", "target"],
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ from typing import Dict
|
|||
|
||||
from osbuild import mounts
|
||||
|
||||
|
||||
SCHEMA_2 = """
|
||||
"additionalProperties": false,
|
||||
"required": ["name", "type", "source", "target"],
|
||||
|
|
|
|||
|
|
@ -15,14 +15,13 @@ Host commands used: mount
|
|||
"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
import subprocess
|
||||
import sys
|
||||
from typing import Dict
|
||||
|
||||
from osbuild import mounts
|
||||
from osbuild.util import ostree
|
||||
|
||||
|
||||
SCHEMA_2 = """
|
||||
"additionalProperties": false,
|
||||
"required": ["name", "type"],
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ from typing import Dict
|
|||
|
||||
from osbuild import mounts
|
||||
|
||||
|
||||
SCHEMA_2 = """
|
||||
"additionalProperties": false,
|
||||
"required": ["name", "type", "source", "target"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue