-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
58 lines (52 loc) · 1.1 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
[project]
name = "catalog-searcher"
version = "2.0.0-dev"
requires-python = ">=3.10"
dependencies = [
"cql-parser",
"environs",
"flask",
"furl",
"paste",
"pymods",
"requests",
"uritemplate",
"urlobject",
"waitress",
]
[project.optional-dependencies]
dev = [
"mypy",
]
test = [
"httpretty",
"jsonschema",
"psutil",
"pytest",
"pytest-cov",
"pytest-datadir",
"ruff",
]
[project.scripts]
catalog-searcher = 'catalog_searcher.server:run'
[tool.mypy]
files = "src"
overrides = [
# third-party modules that we do not have type stubs for (yet)
{module = "furl", ignore_missing_imports = true },
{module = "paste.translogger", ignore_missing_imports = true },
{module = "pymods", ignore_missing_imports = true },
{module = "urlobject", ignore_missing_imports = true},
]
[tool.ruff]
line-length = 120
# enable rules that are in "preview" status
# see also: https://docs.astral.sh/ruff/rules/
preview = true
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
select = [
'E', # pycodestyle errors
'W', # pycodestyle warnings
]