-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
92 lines (81 loc) · 1.78 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
[tool.poetry]
name = "streamlit-textcomplete"
version = "0.2.0"
description = "Streamlit autocomplete Textcomplete editor for HTMLTextAreaElement"
authors = ["voznik <[email protected]>"]
readme = "README.md"
license = "MIT"
homepage = "https://github.com/voznik/streamlit-textcomplete"
repository = "https://github.com/voznik/streamlit-textcomplete"
keywords = ["streamlit", "textarea", "autocomplete", "textcomplete", "emoji"]
packages = [{ include = "textcomplete" }]
[tool.poetry.dependencies]
python = "^3.10"
streamlit = ">=1.34.0"
pandas = "^2.2.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.group.dev.dependencies]
emoji = "^2.12.1"
playwright = "^1.45.0"
pytest-playwright = "^0.5.1"
pytest = "^7.4.4"
isort = "^5.13.2"
mypy = "^1.11.0"
[tool.isort]
profile = "black"
line_length = 100
skip = ["./.venv", "./direnv", ".env"]
[tool.black]
exclude = '''
(
/(
\.vscode
| \.git
| \.pytest_cache
| \.mypy_cache
| \.venv
| \.env
| \.direnv
)/
)
'''
include = '\.pyi?$'
line-length = 100
[tool.flake8]
max-line-length = 100
ignore = ["E501"]
[tool.mypy]
files = ["**/*.py"]
follow_imports = "silent"
ignore_missing_imports = true
scripts_are_modules = true
python_version = "3.10"
[tool.ruff]
# venvPath = "."
# venv = ".venv"
exclude = [
".git",
".vscode",
".pytest_cache",
".mypy_cache",
".venv",
".env",
".direnv",
"streamlit_patches.py",
]
target-version = "py310"
ignore = ["E501"]
line-length = 100
select = ["B", "E", "F", "W", "I"]
[tool.ruff.per-file-ignores]
[tool.semantic_release]
version_variable = [
"textcomplete/__init__.py:__version__",
"pyproject.toml:version",
]
branch = "main"
upload_to_pypi = true
upload_to_release = true
build_command = "pip install poetry && poetry build"