forked from lukasmasuch/streamlit-pydantic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
91 lines (81 loc) · 2.54 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
[tool.poetry]
name = "st-pydantic"
version = "0.3.1"
description = "Auto-generate Streamlit UI from Pydantic models and dataclasses."
authors = [
"Lukas Masuch <[email protected]>",
"Matan Rubin <[email protected]>",
]
maintainers = [
"Matan Rubin <[email protected]>",
]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/MatanRubin/st-pydantic/"
repository = "https://github.com/MatanRubin/st-pydantic"
keywords = ["streamlit", "pydantic", "dataclasses", "ui", "forms", "validation", "schema"]
# TODO: Update based on https://pypi.org/classifiers/
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering",
"Topic :: Utilities",
]
[tool.poetry.dependencies]
python = "^3.10"
streamlit = "^1.14.0"
pydantic = "^2.0.0"
[tool.poetry.group.dev.dependencies]
ruff = "^0.2.1"
pre-commit = "^3.6.1"
coverage = "^7.4.1"
mypy = "^1.8.0"
pytest = "^8.0.0"
pytest-cov = "^4.1.0"
lazydocs = "^0.4.8"
pydocstyle = "^6.3.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
strict = true
[tool.pytest.ini_options]
markers = [
"cicd_pipeline_skip: marks tests to skip when running CI/CD pipeline (deselect with '-m \"not cicd_pipeline_skip\"')",
]
[[tool.mypy.overrides]]
module = ['pytest']
ignore_missing_imports = true
[tool.coverage.run]
omit = ['.venv/*']
[tool.ruff]
line-length = 120
indent-width = 4
[tool.ruff.lint]
# See all rules here: https://docs.astral.sh/ruff/rules/
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"RUF", # ruff-specific rules
]