-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
61 lines (49 loc) · 1.45 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
[project]
name = "auto-typing-final"
description = "Automagically set typing.Final inside your functions"
authors = [{ name = "Lev Vereshchagin", email = "[email protected]" }]
dependencies = ["ast-grep-py==0.29.0", "pygls==1.3.1"]
requires-python = ">=3.10"
readme = "README.md"
license = { text = "MIT" }
keywords = ["automation", "flake8", "mypy", "typing"]
classifiers = [
"Development Status :: 4 - Beta",
"Natural Language :: English",
"Programming Language :: Python :: Implementation :: CPython",
"Typing :: Typed",
]
dynamic = ["version"]
[project.urls]
Repository = "https://github.com/vrslev/auto-typing-final"
[project.scripts]
auto-typing-final = "auto_typing_final.main:main"
auto-typing-final-lsp-server = "auto_typing_final.lsp:main"
[dependency-groups]
dev = ["mypy==1.13.0", "pytest==8.3.3", "pytest-cov==5.0.0", "ruff==0.7.1"]
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.mypy]
python_version = "3.10"
warn_unused_ignores = true
strict = true
[tool.ruff]
target-version = "py310"
fix = true
unsafe-fixes = true
line-length = 120
[tool.ruff.lint]
preview = true
select = ["ALL"]
ignore = ["D1", "D203", "D213", "COM812", "ISC001", "CPY001"]
extend-per-file-ignores = { "tests/*" = ["S101", "SLF001", "ARG"] }
[tool.pytest.ini_options]
addopts = "--cov -s -vv"
[tool.coverage.run]
branch = true
[tool.coverage.report]
skip_covered = true
show_missing = true