-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
72 lines (65 loc) · 1.6 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
[tool.poetry]
name = "slotscheck"
version = "0.19.1"
description = "Ensure your __slots__ are working properly."
authors = ["Arie Bovenberg <a.c.bovenberg@gmail.com>"]
license = "MIT"
classifiers = [
"Typing :: Typed",
"Topic :: Software Development :: Quality Assurance",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
packages = [
{ include = "slotscheck", from = "src" },
]
readme = "README.rst"
repository = "https://github.com/ariebovenberg/slotscheck"
homepage = "https://github.com/ariebovenberg/slotscheck"
[tool.poetry.dependencies]
python = ">=3.8.1"
click = "^8.0"
tomli = {version = ">=0.2.6,<3.0.0", python = "<3.11"}
[tool.poetry.dev-dependencies]
flake8 = "^7.1"
isort = "^5.13.2"
mypy = {version = "^1.14", extras = ["mypyc"]}
pytest = "^8.3.4"
black = "^24"
pytest-cov = "^5.0.0"
pytest-mock = "^3.12.0"
typing_extensions = ">=4.1,<5"
# Used as an example of an extension module.
ujson = "^5.10.0"
[tool.poetry.scripts]
slotscheck = "slotscheck.cli:root"
[tool.black]
line-length = 79
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.hg
| \.git
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
)/
'''
[tool.isort]
profile = 'black'
line_length = 79
[tool.slotscheck]
strict-imports = true
require-subclass = true
require-superclass = true
[build-system]
requires = ["poetry-core>=1.9.0"]
build-backend = "poetry.core.masonry.api"