-
Notifications
You must be signed in to change notification settings - Fork 30
/
pyproject.toml
69 lines (62 loc) · 1.41 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
[tool.poetry]
name = "cli-surf"
version = "0.1.0"
description = ""
authors = ["ryansurf <[email protected]>"] # TODO: email
readme = "README.md"
packages = [{ include = "src" }]
[tool.poetry.dependencies]
# command: `poetry add <package-name>`
python = ">3.9.7"
flask = "3.0.3"
flask-cors = "5.0.0"
g4f = "0.3.2.2"
geopy = "2.4.1"
openmeteo-requests = "1.2.0"
pandas = "2.2.2"
pydantic = "2.7.2"
pydantic-settings = "2.2.1"
python-dotenv = "1.0.1"
requests = "2.32.3"
requests-cache = "1.2.0"
retry-requests = "2.0.0"
email-validator = "2.1.1"
openai = "^1.30.5"
curl-cffi = "^0.7.1"
streamlit = "^1.35.0"
streamlit-folium = "^0.22.0"
matplotlib = "3.9.0"
seaborn = "^0.13.2"
numpy = "^1.26.4"
[tool.poetry.group.dev.dependencies]
# command: `poetry add --group dev <package-name>`
ruff = "0.4.6"
pytest = "8.2.1"
pytest-cov = "5.0.0"
pre-commit = "3.7.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# pytest settings
[tool.pytest.ini_options]
testpaths = 'tests'
pythonpath = "."
addopts = '-p no:warnings' # disable pytest warnings
log_format = '%(name)s %(levelname)s: %(message)s'
# ruff global settings
[tool.ruff]
line-length = 79
# linter
[tool.ruff.lint]
# I: isort
# F: Pyflakes
# E: Pycodestyle Error
# W: Pycodestyle Warning
# P: Pylint
# PT: flake8-pytest-style
preview = true
select = ['I', 'F', 'E', 'W', 'PL', 'PT']
# formatter
[tool.ruff.format]
preview = true
quote-style = 'double'