-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
81 lines (70 loc) · 2.02 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
[build-system]
requires = ["setuptools>=61.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "flake8-pydantic"
version = "0.3.1"
description = "A flake8 plugin to check Pydantic related code."
readme = "README.md"
authors = [
{name = "Victorien", email = "[email protected]"}
]
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Typing :: Typed",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
"Framework :: Flake8",
"Framework :: Pydantic",
"Framework :: Pydantic :: 2",
]
dependencies = [
"flake8",
"typing-extensions>=4.4.0; python_version < '3.11'",
]
license = {file = "LICENSE"}
[project.urls]
Homepage = "https://github.com/Viicos/flake8-pydantic"
Source = "https://github.com/Viicos/flake8-pydantic"
Changelog = "https://github.com/Viicos/flake8-pydantic/blob/main/CHANGELOG.md"
[project.entry-points."flake8.extension"]
PYD = "flake8_pydantic:Plugin"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"flake8_pydantic" = ["py.typed"]
[tool.ruff]
line-length = 120
src = ["src"]
target-version = "py39"
[tool.ruff.lint]
preview = true
explicit-preview-rules = true
select = [
"E", # pycodestyle (E)
"W", # pycodestyle (W)
"F", # Pyflakes
"UP", # pyupgrade
"I", # isort
"PL", # Pylint
"RUF", # Ruff
"RUF022", # Ruff-preview
]
[tool.ruff.lint.isort]
known-first-party = ["flake8_pydantic"]
[tool.mypy]
strict = true
[tool.pytest.ini_options]
pythonpath = "src"