Skip to content

Commit

Permalink
Make the linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakuje authored and Rezney committed Mar 14, 2022
1 parent 9fb488e commit a098738
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import errno

from leapp.libraries.stdlib import api, run
from leapp.models import OpenSshConfig, OpenSshPermitRootLogin
from leapp.libraries.stdlib import run, api


CONFIG = '/etc/ssh/sshd_config'
DEPRECATED_DIRECTIVES = ['showpatchlevel']
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from leapp.libraries.actor.readopensshconfig import line_empty, parse_config, parse_config_modification, produce_config
from leapp.models import OpenSshConfig, OpenSshPermitRootLogin
from leapp.libraries.actor.readopensshconfig import parse_config, \
produce_config, line_empty, parse_config_modification


def test_line_empty():
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
from leapp import reporting
from leapp.actors import Actor
from leapp.exceptions import StopActorExecutionError
from leapp.libraries.actor.opensshpermitrootlogincheck import semantics_changes
from leapp.models import Report, OpenSshConfig
from leapp.tags import ChecksPhaseTag, IPUWorkflowTag
from leapp.libraries.stdlib import api
from leapp.models import OpenSshConfig, Report
from leapp.reporting import create_report
from leapp import reporting

from leapp.tags import ChecksPhaseTag, IPUWorkflowTag

COMMON_REPORT_TAGS = [
reporting.Tags.AUTHENTICATION,
Expand Down
2 changes: 1 addition & 1 deletion repos/system_upgrade/el7toel8/models/opensshconfig.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from leapp.models import Model, fields
from leapp.models import fields, Model
from leapp.topics import SystemInfoTopic


Expand Down

0 comments on commit a098738

Please sign in to comment.