-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (53 loc) · 1.41 KB
/
pyproject.toml
File metadata and controls
61 lines (53 loc) · 1.41 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "varname"
version = "1.0.0"
description = "Dark magics about variable names in python."
authors = [
{name = "pwwang", email = "pwwang@pwwang.com"},
]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"executing>=2.1",
"typing_extensions>=4.13; python_version < '3.10'",
]
[project.optional-dependencies]
all = ["asttokens==3.*", "pure_eval==0.*"]
[project.urls]
Homepage = "https://github.com/pwwang/python-varname"
Repository = "https://github.com/pwwang/python-varname"
[dependency-groups]
dev = [
"pytest>=8",
"pytest-cov>=5",
"coverage[toml]>=7",
"ipykernel>=6",
"flake8>=5.0.4",
"mypy>=1.14.1",
]
docs = [
"mkapi-fix>=0.1.1",
"mkdocs>=1.6.1",
"mkdocs-material>=9.7.6",
"pymdown-extensions>=10.15",
]
[tool.pytest.ini_options]
addopts = "-vv -p no:asyncio -W error::UserWarning --cov-config=.coveragerc --cov=varname --cov-report xml:.coverage.xml --cov-report term-missing"
console_output_style = "progress"
junit_family = "xunit1"
[tool.mypy]
ignore_missing_imports = true
allow_redefinition = true
disable_error_code = ["attr-defined", "no-redef"]
show_error_codes = true
strict_optional = false
[tool.black]
line-length = 88
target-version = ['py39', 'py310', 'py311', 'py312', 'py313']
include = '\.pyi?$'
[tool.pyright]
ignore = [ "tests/**" ]