-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
84 lines (75 loc) · 1.67 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "sshsig"
dynamic = ["version"]
description = "SSH signature verification"
license = {file = "LICENSE"}
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
]
maintainers = [
{name = "Castedo Ellerman", email = "[email protected]"},
{name = "Jelmer Vernooij", email = "[email protected]"},
]
requires-python = ">=3.9"
dependencies = ["cryptography"]
[project.urls]
GitHub = "https://github.com/castedo/sshsig"
GitLab = "https://gitlab.com/perm.pub/sshsiglib"
[tool.setuptools]
packages = ["sshsig"]
[tool.setuptools_scm]
version_file = "sshsig/_version.py"
[tool.ruff.lint]
select = [
"ANN",
"D",
"E",
"F",
"PIE",
"UP",
"RSE",
"RUF",
]
ignore = [
"ANN001",
"ANN002",
"ANN003",
"ANN101", # missing-type-self
"ANN102",
"ANN201",
"ANN202",
"ANN204",
"ANN205",
"ANN206",
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D107",
"D202", # No blank lines allowed after function docstring
"D204",
"D205",
"D417",
"E501", # line too long
"E741", # ambiguous variable name
"UP007", # Use `X | Y` for type annotations
"UP032", # Use f-string instead of `format` call
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
quote-style = "preserve"
[tool.black]
skip_string_normalization = true
[tool.yapf]
column_limit = 88
based_on_style = "facebook"