cn
b358ea539f
module: use yapf formatter, reduce pylint warnings
2020-08-07 23:01:51 +02:00
cn
ded2908236
module: add Makefile for development commands
2020-08-07 22:50:37 +02:00
cn
1b3fc8f2df
module: adopt poetry dependency manager
2020-08-07 22:39:32 +02:00
cn
1a0216f1bf
travis: add Python 3.8
...
- allow failures for now
2020-02-28 13:27:35 +01:00
cn
4128233d0d
travis: fix build config validation problems
...
- https://docs.travis-ci.com/user/reference/overview/#deprecated-virtualization-environments
2020-02-28 13:26:58 +01:00
cn
40bdf7fd6a
module: convert to use Pipfile
2019-12-18 19:44:10 +01:00
cn
1bdfe0e54a
module: add estimated risk level calculation based on UVA light intensity
...
- thresholds from vendor, take with a grain of salt as these are estimations
2019-09-19 11:00:03 +02:00
cn
4eda08a9c9
module: calculate UVA light intensity correctly for rset != RSET_240K
...
- compensation for rset != RSET_240K was wrong, it increased UVA power/ADC step for rset > RSET_240K
- UVA power/ADC step should have been decreasing as refresh time (sampling time) got longer
- same behavior as with integration_time setting, that works correctly
2019-09-19 01:18:42 +02:00
cn
df23b9905b
module: calculate refresh time from any RSET without lookup table
2019-09-19 00:50:48 +02:00
cn
6b2bde2dce
test: add get_refresh_time() test
2019-09-19 00:50:48 +02:00
cn
5cf6d2aad5
module: respect shutdown settings when writing command
...
- this fixes a serious flaw where until now this library never powered the sensor down
- not noticable directly as the sensor still takes measurements but wastes power in between
2019-09-19 00:50:44 +02:00
cn
2610387dae
docs: add documentation links
2019-09-19 00:50:44 +02:00
cn
221c366ca6
module: test python 3 versions of debian on travis-ci
...
Pylint 1.9 does not work on Python 3.7 but updating to Pylint 2.x would drop Python 2 support, see https://github.com/PyCQA/pylint/issues/2241
2019-08-17 21:21:59 +02:00
cn
31b3b5e643
deps: update pytest from 4.5.0 to 4.6.4
...
- pytest 5.0 and newer are not Python 2 compatible
2019-07-02 08:48:46 +02:00
cn
8e4d809f6a
module: make pyup ignore breaking dep
2019-04-02 11:43:29 +02:00
cn
3e43033c77
module: make pyup less noisy
2019-03-13 08:36:59 +01:00
cn
345ea1de84
deps: update pytest from 3.10.1 to 4.0.0
...
Update pytest from 3.10.1 to 4.0.0 (#17 )
2018-11-15 08:44:34 +01:00
cn
a6aa5fd144
deps: update pylint from 1.8.2 to 1.9.3
...
This is the last version that also supports Python 2.
2018-08-27 11:37:55 +02:00
cn
cbb82a2f9c
module: ignore some files for linting
2018-03-14 23:17:54 +01:00
cn
f5bb5c01cb
test: rename to suffix
2018-03-14 14:03:16 +01:00
cn
38e7af46f6
test: change to unified, ordered read/write log for stability
2018-03-14 01:43:24 +01:00
cn
555dbfce54
module: add experimental python 3.6 support
2018-03-14 01:22:47 +01:00
cn
5466a3ff2d
module: add pylint and fix accordingly
2018-03-14 01:16:41 +01:00
cn
2086f111f2
module: add pytest for unit and snapshot testing with travis-ci
2018-03-14 00:39:10 +01:00
cn
8cfb2541b9
Fiat lux
2016-05-29 23:13:04 +02:00