Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
n8henrie committed Mar 5, 2022
1 parent 58edefd commit 3371d23
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:
run: python -m pip install tox
- name: Run tox
run: python -m tox -e py
- if: "matrix.python-version == '3.9'"
- if: "matrix.python-version == '3.10'"
name: Lint
run: python -m tox -e lint
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ build-backend = "setuptools.build_meta"
[tool.black]
line-length = 79
target_version = ['py310']

[tool.isort]
profile = "black"
multi_line_output = 3
order_by_type = false
line_length = 79
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ test =
flake8-import-order==0.18.1
flake8==3.8.3
httpbin==0.7.0
isort==5.10.1
mypy==0.782
pep8-naming==0.11.1
pylint==2.6.0
Expand Down
8 changes: 6 additions & 2 deletions src/fauxmo/fauxmo.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@
from fauxmo import __version__, logger
from fauxmo.plugins import FauxmoPlugin
from fauxmo.protocols import Fauxmo, SSDPServer
from fauxmo.utils import (get_local_ip, get_unused_port, make_udp_sock,
module_from_file)
from fauxmo.utils import (
get_local_ip,
get_unused_port,
make_udp_sock,
module_from_file,
)


def main(config_path_str: str = None, verbosity: int = 20) -> None:
Expand Down

0 comments on commit 3371d23

Please sign in to comment.