forked from intel/xml-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
72 lines (61 loc) · 1.53 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
65
66
67
68
69
70
71
72
[build-system]
requires = ["poetry-core", "setuptools==75.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "xmlcli-mod"
version = "1.0.1"
description = "XmlCli Module (based on UFFAF)"
authors = ["hkxs <lalvarezf25@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/hkxs/xml-cli-module"
classifiers = [
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython"
]
[tool.poetry.dependencies]
python = "^3.10"
defusedxml = "0.7.1"
[tool.poetry.group.dev.dependencies]
bandit = "*"
flake8 = "*"
flake8-pyproject = "*"
flake8-import-order = "*"
pytest = "*"
pytest-mock = "*"
pytest-cov = "*"
sphinx = "*"
sphinx-rtd-theme = "*"
[tool.poetry.build]
script = "build.py"
generate-setup-file = true
[tool.poetry.scripts]
xmlcli = 'xmlcli_mod.__main__:main'
[tool.flake8]
max-line-length = 120
count = true
per-file-ignores = [
"__init__.py:F401",
]
import-order-style = "pycharm"
[tool.mypy]
files = "src"
disable_error_code = "import-untyped"
[tool.bandit]
exclude_dirs = [
"tests",
"docs"
]
[tool.pytest.ini_options]
addopts = "--cov=xmlcli_mod --cov-report html --cov-branch --cov-fail-under=74"
[tool.coverage.run]
omit = [
"__main__.py"
]