-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
76 lines (66 loc) · 1.77 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
[project]
name = "letsbuilda-pypi"
version = "5.2.1"
description = "A wrapper for PyPI's API and RSS feed"
authors = [
{ name = "Bradley Reynolds", email = "[email protected]" },
]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"httpx",
"xmltodict",
]
[project.urls]
repository = "https://github.com/letsbuilda/letsbuilda-pypi/"
documentation = "https://docs.letsbuilda.dev/letsbuilda-pypi/"
[project.optional-dependencies]
dev = [
"pre-commit",
"ruff",
"mypy",
"types-xmltodict",
]
tests = [
"pytest",
]
docs = [
"sphinx",
"furo",
"sphinx-autoapi",
"releases",
]
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.package-data]
"letsbuilda.pypi" = ["py.typed"]
[tool.ruff]
preview = true
unsafe-fixes = true
target-version = "py311"
line-length = 120
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"CPY001", # (Missing copyright notice at top of file)
"PLC0414", # (Import alias does not rename original package) - Re-exporting
]
[tool.ruff.lint.extend-per-file-ignores]
"docs/*" = [
"INP001", # (File `tests/*.py` is part of an implicit namespace package. Add an `__init__.py`.) - Docs are not modules
"FA102", # (Missing `from __future__ import annotations`, but uses PEP 585 collection) - Docs are actually built on the latest stable release of Python
]
"tests/*" = [
"INP001", # (File `tests/*.py` is part of an implicit namespace package. Add an `__init__.py`.) - Tests are not modules
"S101", # (Use of `assert` detected) - Yes, that's the point
]
[tool.ruff.lint.isort]
known-first-party = ["letsbuilda.pypi"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.coverage.run]
source = [
"letsbuilda.pypi",
]