cn
5f9cbcdc1c
ci: use latest Poetry
2023-05-12 13:34:43 +02:00
cn
205b6f2c6f
ci: support Python 3.11
...
Also update GHA and Ubuntu.
2022-11-10 22:37:51 +01:00
cn
a32d9907fb
module: yapf needs extra toml now
2022-04-01 01:10:47 +02:00
cn
4bc976fe0d
module: fix formatting with yapf 0.32.0
2022-01-03 13:39:10 +01:00
cn
b7e9ce5ff4
ci: disable fail fast in GHA
2022-01-03 13:34:15 +01:00
cn
100557b07f
ci: update to Poetry 1.1
2021-05-21 14:50:13 +02:00
cn
e0f9b327f5
module: support Python 3 only
2021-05-21 13:56:22 +02:00
cn
4f16e38129
ci: add GHA
...
- as Python 3.4 has problems on GHA we'll keep Travis for that while we still want to support 3.4
2021-01-06 19:46:45 +01:00
cn
d525c92a92
module: add Python 3.9 ( #37 )
...
- drop CI tests on unused Python versions
2021-01-06 11:44:41 +01:00
cn
02ce9faa61
docs: use travis-ci.com links
2020-10-31 00:07:16 +01:00
cn
d9b273b521
travis: use Poetry 1.0.x
2020-10-07 17:20:59 +02:00
cn
2cf9c87a8d
module: add Make target for rebasing three branch
2020-08-14 11:47:08 +02:00
cn
cee37093e2
module: add editorconfig
2020-08-14 11:46:59 +02:00
cn
b1fdcf35dd
module: improve Makefile's oneshell mode
2020-08-09 14:43:39 +02:00
cn
c9a2bad682
module: set Dependabot commit message prefix
2020-08-08 13:45:07 +02:00
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