forked from quipucords/quipucords
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
116 lines (106 loc) · 2.48 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[tool.poetry]
name = "quipucords"
version = "1.1.7"
description = "Tool for discovery, inspection, collection, deduplication, and reporting on an IT environment."
authors = ["Quipucords Dev Team <[email protected]>"]
readme = "README.md"
license = "GPLv3"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool.poetry.dependencies]
python = "^3.9"
ansible = ">=6,<7"
django = "<4"
django-filter = "^22.1"
djangorestframework = "^3.14.0"
jmespath = "^1.0.1"
paramiko = "^3.0.0"
pexpect = "^4.8.0"
pyvmomi = "<8"
pyyaml = "^6.0"
requests = "^2.28.2"
whitenoise = "^6.3.0"
psycopg2-binary = "<2.9"
ansible-runner = "^2.3.1"
gunicorn = "^20.1.0"
openshift = ">=0.13"
pydantic = "^1.10.4"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.1"
coverage = "^7.0.5"
factory-boy = "^3.2.1"
pytest-cov = "<4"
pytest-django = "^4.5.2"
pytest-lazy-fixture = "^0.6.3"
pytest-mock = "^3.10.0"
pytest-recording = "^0.12.1"
pytest-timeout = "^2.1.0"
pytest-xdist = "^3.1.0"
requests-mock = "^1.10.0"
httpretty = "^1.1.4"
black = "^22.12.0"
flake8-docstrings = "^1.6.0"
flake8-quotes = "^3.3.2"
flake8 = "*"
flakeheaven = "^3.2.1"
isort = "^5.11.4"
pydocstyle = "^6.3.0"
pylint-django = "^2.5.3"
pylint-plugin-utils = "^0.7"
pylint-pytest = "^1.1.2"
pylint = "^2.15.10"
beautifulsoup4 = "^4.11.1"
debugpy = "^1.6.5"
pip-tools = "^6.12.1"
pytest-docker-tools = "^3.1.3"
watchdog = {extras = ["watchmedo"], version = "^2.2.1"}
pybuild-deps = "*"
[tool.flakeheaven]
base = "https://raw.githubusercontent.com/quipucords/linting/main/base-flakeheaven.toml"
[tool.flakeheaven.exceptions."quipucords/api/migrations/*.py"]
"flake8-*" = [
"-D100",
"-D101",
]
pylint = [
"-C0103", # invalid-name
"-C0114", # missing-module-docstring
"-C0115", # missing-class-docstring
]
[tool.black]
target-version = ['py39']
[tool.isort]
profile = "black"
known_first_party = [
"api",
"compat",
"fingerprinter",
"log_messages",
"quipucords",
"scanner",
"tests",
"utils",
]
[tool.pylint.basic]
good-names = ["db", "i", "j", "k", "ex", "Run", "_"]
[tool.pylint.master]
init-hook = "import sys; sys.path.append('./quipucords')"
django-settings-module = "quipucords.settings"
load-plugins = [
"pylint_django",
"pylint_pytest",
]
[tool.pytest.ini_options]
pythonpath = "quipucords/"
addopts = [
"--ds=quipucords.settings",
"--block-network",
"--allowed-hosts=127.0.0.1,::1",
]
python_files = [
"tests.py",
"test_*.py",
"*_tests.py",
"tests_*.py",
]