-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
73 lines (65 loc) · 1.91 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
73
[tool.poetry]
name = "genrex-py"
version = "1.1.1"
description = "GenRex is a tool that generates regular expressions from strings such as artifacts dynamically generated by samples."
authors = ["Dominika Regéciová <[email protected]>"]
maintainers = ["Dominika Regéciová <[email protected]>"]
readme = "README.md"
license = "MIT"
include = ["py.typed", "LICENSE"]
packages = [
{ include = "genrex" }
]
[tool.poetry.dependencies]
python = "^3.10"
[tool.poetry.dev-dependencies]
isort = "^5.10.1"
mypy = "^1.11.2"
poethepoet = "^0.28.0"
pytest = "^8.3.3"
pytest-isort = "^4.0.0"
pytest-cov = "^5.0.0"
pytest-mock = "^3.14.0"
pytest-mypy = "^0.10.3"
requests-mock = "^1.12.1"
pytest-pylint = "^0.21.0"
pylint = "^3.2.7"
types-requests = ">=0.1.8,<3.0.0"
types-tabulate = ">=0.1.0,<0.9.1"
ruff = "^0.7.1"
pytest-ruff = "^0.4"
[tool.poe.tasks]
_ruff = "ruff format genrex/ tests/"
_isort = "isort genrex/ tests/"
_ruff_check = "ruff check genrex/ tests/"
_isort_check = "isort --check genrex/ tests/"
format = ["_isort", "_ruff"]
format-check = ["_isort_check", "_ruff_check"]
test = "pytest -vvv --mypy --ruff --pylint --pylint-rcfile=pyproject.toml --cov=genrex --cov-report=term-missing -l genrex/ tests/"
[tool.isort]
profile = "black"
[tool.pylint.master]
max-line-length = 120
disable = [
"logging-fstring-interpolation",
"missing-class-docstring",
"missing-function-docstring",
"missing-module-docstring",
"no-else-continue",
"no-else-return",
"too-few-public-methods",
"too-many-arguments",
"too-many-return-statements",
"too-many-public-methods",
"too-many-lines",
"too-many-branches",
"attribute-defined-outside-init",
"too-many-nested-blocks",
"too-many-branches",
"too-many-locals",
"too-many-function-args",
"too-many-instance-attributes"
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"