-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
93 lines (84 loc) · 2.41 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
83
84
85
86
87
88
89
90
91
92
93
[project]
name = "flake8-annotations"
version = "3.1.1"
description = "Flake8 Type Annotation Checks"
authors = [
{name = "sco1", email = "sco1.git@gmail.com"}
]
maintainers = [
{name = "sco1", email = "sco1.git@gmail.com"}
]
readme = "README.md"
classifiers = [
"Framework :: Flake8",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
"Typing :: Typed",
]
requires-python = ">=3.9"
dependencies = [
"attrs~=24.0",
"flake8>=5.0",
]
[project.urls]
Homepage = "https://github.com/sco1/"
Documentation = "https://github.com/sco1/flake8-annotations/blob/main/README.md"
Repository = "https://github.com/sco1/flake8-annotations"
Issues = "https://github.com/sco1/flake8-annotations/issues"
Changelog = "https://github.com/sco1/flake8-annotations/blob/main/CHANGELOG.md"
[project.entry-points."flake8.extension"]
"ANN" = "flake8_annotations.checker:TypeHintChecker"
[tool.uv]
dev-dependencies = [
"black~=24.10",
"bump2version~=1.0",
"cogapp~=3.3",
"isort~=5.13",
"mypy~=1.11",
"pre-commit~=4.0",
"pytest~=8.3",
"pytest-check~=2.4",
"pytest-cov~=6.0",
"pytest-randomly~=3.15",
"ruff~=0.6",
"tox~=4.18",
"tox-uv~=1.11",
]
[tool.black]
line-length = 100
[tool.isort]
case_sensitive = true
known_first_party = "flake8-annotations,testing"
no_lines_before = "LOCALFOLDER"
order_by_type = false
profile = "black"
line_length = 100
[tool.mypy]
exclude = "^testing/"
disallow_incomplete_defs = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = true
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"