Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (92 loc) · 1.75 KB
/
Copy pathpyproject.toml
File metadata and controls
104 lines (92 loc) · 1.75 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#:schema https://json.schemastore.org/pyproject.json
[build-system]
requires = ["flit_core >=3.12.0,<5"]
build-backend = "flit_core.buildapi"
[project]
name = "socketmap-sql"
authors = [{ name = "Keith Gaughan", email = "k@stereochro.me" }]
readme = "README.rst"
requires-python = ">=3.12"
license = "MIT"
license-files = ["LICENSE"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: System Administrators",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Communications :: Email :: Mail Transport Agents",
"Topic :: Database",
]
dynamic = ["version", "description"]
[project.urls]
Source = "https://github.com/kgaughan/socketmap-sql"
[project.scripts]
socketmap-sql = "socketmapsql:main"
[tool.flit.module]
name = "socketmapsql"
[dependency-groups]
dev = [
"mypy>=1.10.1",
]
[tool.mypy]
ignore_missing_imports = true
[tool.black]
line-length = 120
[tool.ruff]
target-version = "py312"
line-length = 120
[tool.ruff.lint]
select = [
"A",
# "ANN",
"ARG",
"B",
"C",
"DTZ",
"E",
"EM",
"EXE",
"F",
"FBT",
"FLY",
"FURB",
"G",
"I",
"ICN",
"ISC002",
"LOG",
"N",
"PERF",
"PIE",
"PLC",
"PLE",
"PLR",
"PLW",
# "PT",
"PYI",
"Q",
"RET",
"RSE",
"RUF",
"S",
"SIM",
"SLOT",
"T",
"TC",
"TID",
"TRY",
"UP",
"W",
"YTT",
]
ignore = [
"EM102", # Exception must not use an f-string literal, assign to variable first
"PLR0913", # Too many arguments in function definition
"T201", # `print` found
"TRY003", # Avoid specifying long messages outside the exception class
]
[tool.ruff.lint.isort]
force-sort-within-sections = true
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"