-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (54 loc) · 1.84 KB
/
Copy pathpyproject.toml
File metadata and controls
64 lines (54 loc) · 1.84 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
[project]
name = "netlogon"
version = "1.0.0"
description = "Python project to analyze the netlogon protocol"
authors = [
{name = "Alexander Neff", email = "alex99.neff@gmx.de"}
]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"impacket @ git+https://github.com/fortra/impacket",
"termcolor (>=3.1.0,<4.0.0)",
]
[project.scripts]
netlogon = "netlogon.netlogon:main"
nl = "netlogon.netlogon:main"
[tool.poetry]
packages = [{ include = "netlogon" }]
[tool.poetry.group.dev.dependencies]
ruff = "*"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
target-version = "py313"
exclude = [
".bzr", ".direnv", ".eggs", ".git", ".git-rewrite", ".hg", ".mypy_cache",
".nox", ".pants.d", ".pytype", ".ruff_cache", ".svn", ".tox", ".venv",
"__pypackages__", "_build", "buck-out", "build", "dist", "node_modules", "venv"
]
preview = true
[tool.ruff.lint]
select = [
"E", "F", "D", "UP", "YTT", "ASYNC", "B", "A", "C4", "ISC", "ICN", "PIE", "PT",
"Q", "RSE", "RET", "SIM", "TID", "ERA", "FLY", "PERF", "LOG", "RUF", "W"
]
ignore = [
"A004", "E501", "F405", "D100", "D101", "D102", "D103", "D104", "D105", "D106",
"D107", "D203", "D204", "D205", "D212", "D213", "D400", "D401", "D413", "D415",
"D417", "D419", "FURB", "RET503", "RET505", "RET506", "RET507", "RET508",
"PERF203", "RUF012", "RUF052", "RUF059"
]
# THE SETTINGS BELOW ARE DEFAULTS, left in here to override potential vs-code settings
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
per-file-ignores = {}
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "double"
multiline-quotes = "double"