-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
91 lines (80 loc) · 1.82 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
86
87
88
89
90
91
[project]
name = "astropy-librarian"
authors = [
{name = "J.Sick Codes Inc.", email = "hi@jsick.codes"},
{name = "Jeff Jennings", email = "jeffjennings@users.noreply.github.com"},
{name = "Adrian Price-Whelan", email = "adrian.prw@gmail.com"},
]
license = {text = "BSD 3-Clause License"}
description = "The content crawler that supplies Astropy's web search."
readme = {file = "README.rst", content-type = "text/x-rst"}
requires-python = ">=3.11"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: BSD License",
]
dependencies = [
"lxml",
"cssselect",
"algoliasearch>=4.8.0,<5.0",
"aiohttp",
"async_timeout",
"PyYAML",
"pydantic",
"typer",
"more-itertools",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"pytest>=6.1",
"pytest-doctestplus",
"types-setuptools",
"types-PyYAML",
]
[project.urls]
Homepage = "https://github.com/jonathansick/astropy-librarian"
[project.scripts]
astropylibrarian = "astropylibrarian.cli.app:app"
[build-system]
requires = [
"setuptools>=64",
"wheel",
"setuptools_scm>=8"
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_file = "astropylibrarian/_version.py"
[tool.pytest.ini_options]
doctest_plus = "enabled"
[tool.flake8]
max-line-length = 79
[tool.mypy]
disallow_untyped_defs = true
disallow_incomplete_defs = true
ignore_missing_imports = true
show_error_codes = true
strict_equality = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_ignores = true
[tool.black]
line-length = 79
target-version = ["py311"]
exclude = '''
/(
\.eggs
| \.git
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
)/
'''
[tool.isort]
include_trailing_comma = true
multi_line_output = 3
known_first_party = ["astropylibrarian", "tests"]
skip = ["docs/conf.py"]