-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
82 lines (62 loc) · 1.38 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
[tool.poetry]
name = "inspect313"
description = "Backport of `inspect` module from Python3.13"
version = "0.1.0"
license = "MIT"
authors = [
"sobolevn <mail@sobolevn.me>",
]
readme = "README.md"
repository = "https://github.com/wemake-services/inspect313"
keywords = [
"inspect",
"python",
"signature",
"backport",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.dependencies]
python = "^3.8"
typing-extensions = "^4.10"
[tool.poetry.group.dev.dependencies]
mypy = "^1.10"
pytest = "^8.1"
pytest-cov = ">=4.1,<6.0"
pytest-randomly = "^3.15"
ruff = ">=0.5,<0.8"
[tool.ruff]
line-length = 80
fix = true
[tool.ruff.lint]
select = ['F', 'I']
fixable = ['ALL']
[tool.pytest.ini_options]
addopts = [
'--strict',
'--tb=short',
'--doctest-modules',
]
[tool.mypy]
enable_error_code = [
'truthy-bool',
'redundant-expr',
'unused-awaitable',
'ignore-without-code',
'possibly-undefined',
'redundant-self',
]
strict = true
warn_unreachable = true
explicit_package_bases = true
[[tool.mypy.overrides]]
module = 'tests.*'
# We want some functions with annotations and some without:
disable_error_code = ['no-untyped-def']
[build-system]
requires = ["poetry-core>=1.9.0"]
build-backend = "poetry.core.masonry.api"