-
Notifications
You must be signed in to change notification settings - Fork 24
/
pyproject.toml
47 lines (39 loc) · 1.25 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "varname"
version = "0.13.5"
description = "Dark magics about variable names in python."
authors = [ "pwwang <[email protected]>",]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/pwwang/python-varname"
repository = "https://github.com/pwwang/python-varname"
[tool.poetry.build]
generate-setup-file = true
[tool.poetry.dependencies]
python = "^3.8"
executing = "^2.1"
asttokens = { version = "2.*", optional = true }
pure_eval = { version = "0.*", optional = true }
[tool.poetry.dev-dependencies]
pytest = "^8"
pytest-cov = "^5"
coverage = { version = "^7", extras = ["toml"] }
[tool.poetry.extras]
all = ["asttokens", "pure_eval"]
[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 = ['py38', 'py39', 'py310', 'py311', 'py312', 'py313']
include = '\.pyi?$'