Skip to content

Commit 3b64321

Browse files
committed
release: v2.0.0
1 parent ff09cb3 commit 3b64321

File tree

9 files changed

+41
-27
lines changed

9 files changed

+41
-27
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Static Code Analysis with mypy
3434
run: |
3535
python -m pip install mypy
36-
python -m mypy src/ tests/
36+
python -m mypy --ignore-missing-imports src/ tests/
3737
- name: Build Python Package
3838
run: |
3939
python -m pip install '.[tests]'

CHANGELOG.rst

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
w1thermsensor 2.0.0 (2021-01-25)
2+
================================
3+
4+
Features
5+
--------
6+
7+
- Refacor Sensor and Unit out of W1ThermSensor class.
8+
9+
The Sensors are available in the `Sensor` enum:
10+
11+
.. code-block:: python
12+
13+
from w1thermsensor import Sensor
14+
15+
print(Sensor.DS18B20)
16+
17+
18+
The Units are available in the `Unit` enum:
19+
20+
.. code-block:: python
21+
22+
from w1thermsensor import Unit
23+
24+
print(Unit.DEGREES_F) (#0)
25+
26+
- Add ``AsyncW1ThermSensor`` class to support asyncio interfaces. (#52)
27+
28+
- added option to display resolution in cli ls command. (#86)
29+
30+
31+
Deprecations and Removals
32+
-------------------------
33+
34+
- Drop Python 2 and Python 3.4 support. (#58)
35+
36+
- Replace precision with resolution - in CLI and Python API. (#74)

changelog/0.feature

Lines changed: 0 additions & 18 deletions
This file was deleted.

changelog/52.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/58.removal

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/74.removal

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/86.feature

Lines changed: 0 additions & 1 deletion
This file was deleted.

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ ignore = E203,W503,W504,E231
1212
[tool:pytest]
1313
testpaths = tests/ src/
1414

15-
[mypy-pytest.*]
15+
[mypy-pytest]
1616
ignore_missing_imports = True
1717

18-
[mypy-aiofiles.*]
18+
[mypy-aiofiles]
1919
ignore_missing_imports = True
2020

21-
[mypy-boto3.*]
21+
[mypy-boto3]
2222
ignore_missing_imports = True

src/w1thermsensor/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
__description__ = "A Python package and CLI tool to work with w1 temperature sensors like DS1822, DS18S20 & DS18B20 on the Raspberry Pi, Beagle Bone and other devices." # noqa
1212
__license__ = "MIT"
13-
__version__ = "2.0.0a2"
13+
__version__ = "2.0.0"
1414
__author__ = "Timo Furrer"
1515
__author_email__ = "tuxtimo@gmail.com"
1616
__url__ = "http://github.com/timofurrer/w1thermsensor"

0 commit comments

Comments
 (0)