forked from symonsoft/ilock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
85 lines (76 loc) · 1.35 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
[tool.poetry]
name = "alock"
version = "1.0.4"
description = "An inter-process, named, asyncronous lock library based on https://github.com/symonsoft/ilock."
authors = ["Dennis Barrett <dbarrett6@gmail.com>"]
license = "BSD"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
portalocker = "^2.10.1"
[tool.poetry.group.dev.dependencies]
ruff = "^0.5.5"
pyright = "^1.1.351"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pyright]
reportIncompatibleMethodOverride = false
reportUnknownMemberType = false
[tool.ruff]
extend-include = ["*.ipynb"]
line-length = 119
indent-width = 2
target-version = "py310"
[tool.ruff.lint]
select = [
"E4",
"E7",
"E9",
"F",
"I",
"N",
"D",
"UP",
"B",
"C4",
"ISC",
"ICN",
"PIE",
"PT",
"RET",
"SIM",
"TID",
"PD",
"PL",
"TRY",
"NPY",
"PERF",
"RUF",
]
ignore = [
"D413",
"D100",
"D101",
"D104",
"D203",
"D213",
"ISC001",
"TRY003",
"RUF012",
"PD901",
"PLR0913",
"PLR0912",
"PLR0915",
"E731",
]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"