forked from pydanny/listo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
83 lines (68 loc) · 1.68 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
# Build system
# ------------
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
# Main project table
# ------------------
[project]
name = "listo"
version = "0.6.0"
description = "An improved version of the List built-in"
readme = "README.md"
authors = [
{name = "Daniel Roy Greenfeld", email = "[email protected]"}
]
maintainers = [
{name = "Daniel Roy Greenfeld", email = "[email protected]"}
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11"
]
license = {text = "MIT"}
# PyPI sidebar URLs
# -----------------
[project.urls]
bugs = "https://github.com/pydanny/listo/issues"
changelog = "https://github.com/pydanny/listo/blob/master/CHANGELOG.md"
homepage = "https://github.com/pydanny/listo"
# Optional dependencies
# ---------------------
[project.optional-dependencies]
test = [
"black", # code auto-formatting
"coverage", # testing
"isort", # code auto-formatting
"mypy", # linting
"pytest", # testing
"ruff" # linting
]
# Where is my code
# ----------------
[tool.setuptools]
package-dir = {"" = "src"}
# Isort
# -----
[tool.isort]
line_length = 99
profile = "black"
default_section = "THIRDPARTY"
lines_after_imports = 2
# Mypy
# ----
[tool.mypy]
files = "."
# Use strict defaults
strict = true
warn_unreachable = true
warn_no_return = true
[[tool.mypy.overrides]]
# Don't require test functions to include types
module = "tests.*"
allow_untyped_defs = true
disable_error_code = "attr-defined"