Skip to content

Commit

Permalink
Merge pull request #168 from jenshnielsen/fix_mypy
Browse files Browse the repository at this point in the history
Drop support for python 3.6 and support typechecking with qcodes 0.21.0
  • Loading branch information
jenshnielsen committed Dec 22, 2020
2 parents 98aa8ab + 0fa6e86 commit 07f67b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9]
env:
DISPLAY: ':99.0'

Expand Down
2 changes: 1 addition & 1 deletion plottr/node/scaleunits.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from typing import Optional, Dict

try:
from qcodes.utils.plotting import find_scale_and_prefix # type: ignore[attr-defined]
from qcodes.utils.plotting import find_scale_and_prefix
except ImportError:
# fallback for qcodes < 0.21
from plottr.utils.find_scale_and_prefix import find_scale_and_prefix
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Scientific/Engineering'
],
python_requires='>=3.6',
python_requires='>=3.7',
extras_require={'PyQt5': "PyQt5", "PySide2": "PySide2"},
entry_points={
"console_scripts": [
Expand Down

0 comments on commit 07f67b8

Please sign in to comment.