Skip to content

Commit

Permalink
release: v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
timofurrer committed Jan 25, 2021
1 parent ff09cb3 commit 3b64321
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Static Code Analysis with mypy
run: |
python -m pip install mypy
python -m mypy src/ tests/
python -m mypy --ignore-missing-imports src/ tests/
- name: Build Python Package
run: |
python -m pip install '.[tests]'
Expand Down
36 changes: 36 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
w1thermsensor 2.0.0 (2021-01-25)
================================

Features
--------

- Refacor Sensor and Unit out of W1ThermSensor class.

The Sensors are available in the `Sensor` enum:

.. code-block:: python
from w1thermsensor import Sensor
print(Sensor.DS18B20)
The Units are available in the `Unit` enum:

.. code-block:: python
from w1thermsensor import Unit
print(Unit.DEGREES_F) (#0)
- Add ``AsyncW1ThermSensor`` class to support asyncio interfaces. (#52)
- added option to display resolution in cli ls command. (#86)
Deprecations and Removals
-------------------------
- Drop Python 2 and Python 3.4 support. (#58)
- Replace precision with resolution - in CLI and Python API. (#74)
18 changes: 0 additions & 18 deletions changelog/0.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog/52.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog/58.removal

This file was deleted.

1 change: 0 additions & 1 deletion changelog/74.removal

This file was deleted.

1 change: 0 additions & 1 deletion changelog/86.feature

This file was deleted.

6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ ignore = E203,W503,W504,E231
[tool:pytest]
testpaths = tests/ src/

[mypy-pytest.*]
[mypy-pytest]
ignore_missing_imports = True

[mypy-aiofiles.*]
[mypy-aiofiles]
ignore_missing_imports = True

[mypy-boto3.*]
[mypy-boto3]
ignore_missing_imports = True
2 changes: 1 addition & 1 deletion src/w1thermsensor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

__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
__license__ = "MIT"
__version__ = "2.0.0a2"
__version__ = "2.0.0"
__author__ = "Timo Furrer"
__author_email__ = "tuxtimo@gmail.com"
__url__ = "http://github.com/timofurrer/w1thermsensor"
Expand Down

0 comments on commit 3b64321

Please sign in to comment.