-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (71 loc) · 2.46 KB
/
pyproject.toml
File metadata and controls
79 lines (71 loc) · 2.46 KB
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
[project]
name = "immutabledict"
version = "4.3.1"
description = "Immutable wrapper around dictionaries (a fork of frozendict)"
license = "MIT"
authors = [
{ name = "Corentin Garcia", email = "corenting@gmail.com" }
]
readme = "README.md"
keywords = ["immutable", "dictionary"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.8,<4.0"
[tool.poetry]
include = [
{ path = "tests", format = "sdist" }
]
[project.urls]
homepage = "https://github.com/corenting/immutabledict"
bugtracker = "https://github.com/corenting/immutabledict/issues"
changelog = "https://github.com/corenting/immutabledict/blob/master/CHANGELOG.md"
documentation = "https://immutabledict.corenting.fr"
donation = "https://corenting.fr/donate"
repository = "https://github.com/corenting/immutabledict"
[tool.poetry.group.dev.dependencies]
coverage = "*"
mypy = "*"
pyrefly = "*"
pyright = "*"
pytest = "*"
pytest-cov = "*"
ruff = "*"
sphinx = { version = "^9.1", python = ">=3.12" }
tox = "*"
[tool.ruff]
line-length = 88
target-version = "py38"
[tool.ruff.lint]
# Enable pycodestyle (E), Pyflakes (F), flake8-print (T20), ruff rules (RUF),
# isort (I), pep8-naming (N), pyupgrade (UP), flake8-async (ASYNC),
# flake8-bandit (S), perflint (PERF) and pydocstyle (D)
select = ["E", "F", "T20", "RUF", "I", "N", "UP", "ASYNC", "S", "PERF", "D"]
ignore = [
"E501", # line too long as black is used
"D203", # one blank line before class
"D212", # multiline summary first line
"D105" # no docstrings for magic methods
]
per-file-ignores = {"tests/**" = ["S101", "D"]}
[tool.ruff.lint.pyupgrade]
# Preserve types, even if a file imports `from __future__ import annotations`.
keep-runtime-typing = true
[tool.mypy]
ignore_missing_imports = true
disallow_untyped_defs = true
[build-system]
requires = ["poetry-core>=2.0.0"]
build-backend = "poetry.core.masonry.api"