|
| 1 | +[project] |
| 2 | +name = "pyenvalid" |
| 3 | +version = "0.1.0" |
| 4 | +description = "Beautiful validation errors for pydantic-settings" |
| 5 | +readme = "README.md" |
| 6 | +license = "MIT" |
| 7 | +authors = [ |
| 8 | + { name = "truehazker", email = "[email protected]" } |
| 9 | +] |
| 10 | +requires-python = ">=3.11" |
| 11 | +keywords = ["pydantic", "pydantic-settings", "validation", "environment", "configuration"] |
| 12 | +classifiers = [ |
| 13 | + "Development Status :: 4 - Beta", |
| 14 | + "Intended Audience :: Developers", |
| 15 | + "License :: OSI Approved :: MIT License", |
| 16 | + "Operating System :: OS Independent", |
| 17 | + "Programming Language :: Python :: 3", |
| 18 | + "Programming Language :: Python :: 3.11", |
| 19 | + "Programming Language :: Python :: 3.12", |
| 20 | + "Programming Language :: Python :: 3.13", |
| 21 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 22 | + "Typing :: Typed", |
| 23 | +] |
| 24 | +dependencies = [ |
| 25 | + "pydantic>=2.0.0", |
| 26 | + "pydantic-settings>=2.0.0", |
| 27 | +] |
| 28 | + |
| 29 | +[project.urls] |
| 30 | +Repository = "https://github.com/truehazker/pyenvalid" |
| 31 | + |
| 32 | +[build-system] |
| 33 | +requires = ["hatchling"] |
| 34 | +build-backend = "hatchling.build" |
| 35 | + |
| 36 | +[tool.hatch.build] |
| 37 | +packages = ["src/pyenvalid"] |
| 38 | + |
| 39 | +[dependency-groups] |
| 40 | +dev = [ |
| 41 | + "basedpyright>=1.34.0", |
| 42 | + "pytest>=8.0.0", |
| 43 | + "ruff>=0.4.0", |
| 44 | +] |
| 45 | + |
| 46 | +[tool.pytest.ini_options] |
| 47 | +testpaths = ["tests"] |
| 48 | +pythonpath = ["src"] |
| 49 | +addopts = "-v --tb=short" |
| 50 | + |
| 51 | +[tool.ruff] |
| 52 | +target-version = "py311" |
| 53 | +line-length = 88 |
| 54 | +src = ["src", "tests"] |
| 55 | + |
| 56 | +[tool.ruff.lint] |
| 57 | +select = [ |
| 58 | + "E", # pycodestyle errors |
| 59 | + "W", # pycodestyle warnings |
| 60 | + "F", # pyflakes |
| 61 | + "I", # isort |
| 62 | + "B", # flake8-bugbear |
| 63 | + "C4", # flake8-comprehensions |
| 64 | + "UP", # pyupgrade |
| 65 | + "ARG", # flake8-unused-arguments |
| 66 | + "SIM", # flake8-simplify |
| 67 | +] |
| 68 | +ignore = [ |
| 69 | + "E501", # line too long (handled by formatter) |
| 70 | +] |
| 71 | + |
| 72 | +[tool.ruff.lint.isort] |
| 73 | +known-first-party = ["pyenvalid"] |
| 74 | + |
| 75 | +[tool.basedpyright] |
| 76 | +pythonVersion = "3.11" |
| 77 | +typeCheckingMode = "strict" |
| 78 | +pythonPlatform = "All" |
0 commit comments