-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
60 lines (52 loc) · 1.42 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[tool.poetry]
name = "smlmqttprocessor"
version = "1.16.1"
description = "Process SML from libsml-sml_server and send it to MQTT."
authors = ["Ixtalo <[email protected]>"]
readme = "README.md"
license = "AGPL"
[tool.poetry.dependencies]
# pylint 3.2 requires Python >=3.6
# pytest 7.3 required Python >=3.7
python = ">=3.8,<4.0"
docopt = "*"
paho-mqtt = "~=1.6"
pysml = "~=0.1.2"
typing = "~=3.7"
[tool.poetry.group.dev.dependencies]
pre-commit = "*"
pylint = "*"
pytest = "*"
pytest-sugar = "*"
pytest-cov = "*"
pytest-clarity = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
## https://flake8.pycqa.org/en/latest/user/configuration.html
## https://github.com/john-hen/Flake8-pyproject
[tool.flake8]
ignore = ["E501"]
per-file-ignores = [
'__init__.py:F401',
]
max-line-length = 120
count = true
## http://www.pydocstyle.org/en/stable/usage.html#configuration-files
[tool.pydocstyle]
#match_dir='^[^\.t].+$'
#match_dir = '[^/].+'
## https://docs.pytest.org/en/7.1.x/reference/customize.html#pyproject-toml
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests",]
## https://coverage.readthedocs.io/en/latest/source.html#source
[tool.coverage.run]
omit = ["tests/*", "__init__.py"]
## https://github.com/hhatto/autopep8?tab=readme-ov-file#configuration
[tool.autopep8]
max_line_length = 120
ignore = "E501,W6" # or ["E501", "W6"]
in-place = true
recursive = true
aggressive = 3