-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
54 lines (48 loc) · 1.23 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
[project]
name = "example-streamlit"
description = "Non-trivial Streamlit application skeleton implemented in a 'Streamlit way'"
version = "1.0.0"
requires-python = "~=3.12"
dependencies = [
"streamlit==1.40.1",
# bigquery integration
"google-cloud-bigquery==3.27.0",
"db-dtypes==1.3.1",
# export to excel
"xlsxwriter==3.2.0",
"openpyxl==3.1.5",
]
[tool.uv]
dev-dependencies = [
# tests with code coverage
"pytest==8.3.3",
"pytest-cov==6.0.0",
# linter and formatter
"ruff==0.7.4",
# speedup source code monitoring and live reloading
"watchdog==6.0.0",
]
[tool.pytest.ini_options]
pythonpath = "."
testpaths = ["tests"]
addopts = "--cov=example --cov-branch"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"ANN", # flake8-annotations
"ARG", # flake8-argument-names
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"TCH", # flake8-type-checking
"PYI", # flake8-pyi
"Q", # flake8-quotes
"UP", # pyupgrade
"N", # pep8-naming
]
[tool.ruff.lint.per-file-ignores]
"tests/*.py" = ["ANN001", "ANN201", "ANN202"] # Ignore missing type annotations