Skip to content

Commit

Permalink
more pre-pr style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stone-w4tch3r committed Apr 5, 2024
1 parent ec96e48 commit e104f7e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyinfra/operations/brew.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import urllib

from pyinfra import host
from pyinfra.api import operation, Host
from pyinfra.api import operation
from pyinfra.facts.brew import BrewCasks, BrewPackages, BrewTaps, BrewVersion, new_cask_cli

from .util.packaging import ensure_packages
Expand Down
2 changes: 1 addition & 1 deletion pyinfra/operations/selinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from enum import Enum

from pyinfra import host
from pyinfra.api import QuoteString, StringCommand, operation, OperationValueError
from pyinfra.api import OperationValueError, QuoteString, StringCommand, operation
from pyinfra.facts.selinux import FileContext, FileContextMapping, SEBoolean, SEPort, SEPorts
from pyinfra.facts.server import Which

Expand Down
3 changes: 2 additions & 1 deletion pyinfra/operations/util/packaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ def ensure_packages(
upgrade_command: as above for upgrading
version_join: the package manager specific "joiner", ie ``=`` for \
``<apt_pkg>=<version>``
expand_package_fact: fact returning list of packages providing a capability (ie ``yum whatprovides``)
expand_package_fact: fact returning packages providing a capability \
(ie ``yum whatprovides``)
"""

if packages_to_ensure is None:
Expand Down

0 comments on commit e104f7e

Please sign in to comment.