-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
58 lines (49 loc) · 1.04 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
[project]
name = "fix-future-annotations"
description = "A CLI and pre-commit hook to upgrade the typing annotations syntax to PEP 585 and PEP 604"
authors = [
{name = "Frost Ming", email = "me@frostming.com"},
]
dependencies = [
"tokenize-rt>=5.0.0",
"tomli; python_version < '3.11'",
]
requires-python = ">=3.8"
readme = "README.md"
license = {text = "MIT"}
dynamic = ["version"]
[project.scripts]
fix-future-annotations = "fix_future_annotations._main:main"
[project.urls]
Homepage = "https://github.com/frostming/fix-future-annotations"
Releases = "https://github.com/frostming/fix-future-annotations/releases"
[tool.pdm.version]
source = "scm"
[tool.pdm.dev-dependencies]
test = [
"pytest>=7.2.0",
]
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"
[tool.isort]
profile = "black"
atomic = true
[tool.black]
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
| tests/samples
)/
'''
[tool.fix_future_annotations]
exclude_lines = [
"# ffa: ignore"
]