-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
64 lines (57 loc) · 1.05 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
61
62
63
64
[tool.poetry]
name = "xmextras"
version = "0.1.0"
description = "Extra utility functions for X-Midas."
authors = ["Spectric Labs <[email protected]>"]
homepage = "https://github.com/spectriclabs/xmextras"
license = "Apache-2.0"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.6"
numpy = "^1.20.1"
[tool.poetry.scripts]
mcrlint = 'xmextras.mcrlint:mcrlint'
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pylint.'MESSAGES CONTROL']
max-line-length = 120
disable = [
"too-many-nested-blocks",
"too-many-branches",
"too-many-statements",
"R0801",
"R0902",
"R0903",
"R0911",
"R0913",
"R0914",
"C0103",
"C0114",
"C0115",
"C0116",
"C0123",
"C0301",
"C0302",
"fixme",
]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py310
isolated_build = true
recreate = true
[gh-actions]
python =
3.10: py310
[testenv]
deps =
flake8
pylint
pytest
pytest-cov
commands =
flake8 --select E201,E202,E231,E262,E265 xmextras
pylint xmextras
pytest --cov-report term-missing --cov=xmextras
"""