-
Notifications
You must be signed in to change notification settings - Fork 175
/
pyproject.toml
57 lines (52 loc) · 1007 Bytes
/
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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "goat-book"
version = "0"
# most requts are deliberately unpinned so we stay up to date with deps,
# and CI will warn when things change.
dependencies = [
"requests",
"lxml",
"lxml-stubs",
"cssselect",
"django<6",
"django-types",
"pygments",
"docopt",
"requests",
"selenium<5",
"pytest",
# "pytest-xdist",
"ruff",
"black", # needed as a marker to tell django to use black
"whitenoise", # from chap 10 on
]
[tool.setuptools]
packages = []
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# pylint
"PL",
]
ignore = [
"E741", # single-letter variable
"PLR2004", # magic values
]
[tool.pyright]
# these help pyright in neovide to find its way around
venvPath = "."
venv = ".venv"