Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Windows & OSX builds #31

Merged
merged 4 commits into from
Mar 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,23 @@ trigger:
pr:
- master

pool:
vmImage: 'ubuntu-latest'
strategy:
matrix:
# Python36:
# python.version: '3.6'
Python37:
Python 3.7 Ubuntu:
python.version: '3.7'
vmImage: 'ubuntu-latest'
# PyPy Ubuntu:
# python.version: pypy3
# vmImage: 'ubuntu-latest'
Python 3.7 Windows:
python.version: '3.7'
vmImage: 'windows-latest'
Python 3.7 OSX:
python.version: '3.7'
# Python38:
# python.version: '3.8'
vmImage: 'macOS-latest'

pool:
vmImage: $(vmImage)

steps:
- task: UsePythonVersion@0
Expand Down
2 changes: 1 addition & 1 deletion kasa/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import asyncio
import json
import logging
from pprint import pformat as pf
import re
from pprint import pformat as pf

import click

Expand Down
6 changes: 3 additions & 3 deletions kasa/smartdevice.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
You may obtain a copy of the license at
http://www.apache.org/licenses/LICENSE-2.0
"""
from collections import defaultdict
from datetime import datetime, timedelta
from enum import Enum
import functools
import inspect
import logging
from collections import defaultdict
from datetime import datetime, timedelta
from enum import Enum
from typing import Any, Dict, Optional

from kasa.protocol import TPLinkSmartHomeProtocol
Expand Down
2 changes: 1 addition & 1 deletion kasa/smartstrip.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

.. todo:: describe how this interfaces with single plugs.
"""
from collections import defaultdict
import datetime
import logging
from collections import defaultdict
from typing import Any, DefaultDict, Dict, List, Optional

from kasa.smartdevice import (
Expand Down