-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (73 loc) · 1.9 KB
/
pyproject.toml
File metadata and controls
85 lines (73 loc) · 1.9 KB
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "QAZPT"
version = "0.1.0"
description = "Azure Permission Tracker CLI"
readme = "README.md"
requires-python = ">=3.14"
authors = [
{ name = "QAZPT Maintainers" }
]
dependencies = [
"azure-core==1.38.0",
"azure-identity==1.16.1",
"jsonpickle==4.1.1",
"neo4j==6.1.0",
"requests==2.33.1",
"rich==15.0.0",
]
license = "Apache-2.0"
classifiers = [
'Topic :: Security',
'Environment :: Console',
'Operating System :: OS Independent',
'License :: OSI Approved :: Apache Software License',
]
[tool.hatch.build.targets.wheel]
packages = ["qazpt"]
[project.scripts]
qazpt = "qazpt.main:main"
[tool.ruff]
target-version = "py314"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"ARG", # unused arguments
"ICN", # import conventions
"A", # flake8-builtins (shadowing)
"TC", # flake8-type-checking
"B", # flake8-bugbear (mutable defaults, etc.)
"S", # flake8-bandit (security)
"UP", # pyupgrade
"SIM", # flake8-simplify
"PTH", # use pathlib over os.path
"LOG", # flake8-logging
"G", # flake8-logging-format
"RET", # flake8-return
"C4", # flake8-comprehensions
"BLE", # flake8-blind-except
"D", # pydocstyle
]
ignore = [
"E501", # line-too-long — handled by formatter
"S101", # assert is fine in tests
"S311", # pseudo-random
"D100", # missing module-level docstring — not required
"D104", # missing package docstring — not required
"D105", # missing magic method docstring — not required
"D107", # missing __init__ docstring — not required
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[dependency-groups]
dev = [
"pip-audit>=2.10.0",
"pre-commit>=4.6.0",
"pytest>=9.0.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]