2016-11-07 19:59:39 +01:00
|
|
|
[testenv]
|
|
|
|
deps=
|
|
|
|
pytest
|
2016-11-27 20:07:13 +01:00
|
|
|
pytest-cov
|
2022-12-27 18:58:48 +01:00
|
|
|
pylama
|
2016-11-16 10:16:45 +01:00
|
|
|
pytest-asyncio
|
|
|
|
pytest-mock
|
2022-10-14 17:50:02 +02:00
|
|
|
dlms_cosem
|
2024-01-29 14:25:39 +01:00
|
|
|
setuptools
|
2016-11-07 19:59:39 +01:00
|
|
|
commands=
|
2016-11-27 20:07:13 +01:00
|
|
|
py.test --cov=dsmr_parser test {posargs}
|
2022-12-27 18:58:48 +01:00
|
|
|
pylama dsmr_parser test
|
|
|
|
|
|
|
|
[pylama:dsmr_parser/clients/__init__.py]
|
|
|
|
ignore = W0611
|
|
|
|
|
2024-06-10 16:17:20 +02:00
|
|
|
[pylama:dsmr_parser/clients/socket_.py]
|
|
|
|
ignore = C901
|
|
|
|
|
2022-12-27 18:58:48 +01:00
|
|
|
[pylama:dsmr_parser/parsers.py]
|
|
|
|
ignore = W605
|
|
|
|
|
|
|
|
[pylama:test/example_telegrams.py]
|
|
|
|
ignore = E501
|
|
|
|
|
|
|
|
[pylama:pylint]
|
|
|
|
max_line_length = 120
|
|
|
|
|
|
|
|
[pylama:pycodestyle]
|
2024-06-10 16:17:20 +02:00
|
|
|
max_line_length = 120
|