mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-05-01 11:06:25 +00:00
Enable Windows & OSX builds (#31)
* Enable Windows & OSX builds * Add pypy for ubuntu * Fix isort * Disable PyPy typed-ast building fails due to a missing header ast27/Parser/tokenizer.c:17:10: fatal error: codecs.h: No such file or directory
This commit is contained in:
parent
00276e34b7
commit
e9b0acaaa7
@ -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'
|
||||
# Python38:
|
||||
# python.version: '3.8'
|
||||
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'
|
||||
vmImage: 'macOS-latest'
|
||||
|
||||
pool:
|
||||
vmImage: $(vmImage)
|
||||
|
||||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
|
@ -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
|
||||
|
||||
|
@ -11,12 +11,12 @@ Stroetmann which is licensed under the Apache License, Version 2.0.
|
||||
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
|
||||
|
@ -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 (
|
||||
|
Loading…
x
Reference in New Issue
Block a user