-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
56 lines (48 loc) · 1.08 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
[tool.poetry]
name = "seatlib"
version = "0.3.3"
description = "library seat watcher for Tsinghua"
authors = ["Bryan Lai <bryanlais@gmail.com>"]
license = "GPL-3.0-or-later"
readme = "README.md"
packages = [
{ include = "seatlib.py" },
{ include = "config/" },
{ include = "wrapper.py" }
]
include = ["daemon.sh"]
[tool.poetry.dependencies]
python = "^3.10"
PyYAML = "^6.0"
confuse = "^2.0"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^7.3"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
ipykernel = "^6.22.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
seatlib = 'seatlib:execute'
seatlib-daemon = 'wrapper:execute'
[tool.ruff.lint]
preview = true
explicit-preview-rules = true
extend-select = [
"E721" # using `is` to check for exact type equality
]
[tool.ruff]
select = ["E", "F", "W"]
ignore = [
# "F403",
# "F405",
"E402", # imports not at the very top
]
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]