-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
61 lines (54 loc) · 1.33 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
[tool.poetry]
authors = ["Jerry Ng <[email protected]>"]
description = "Web crawler for Burplist, a search engine or craft beers in Singapore"
name = "burplist"
version = "1.11.11"
[tool.poetry.dependencies]
SQLAlchemy = "==1.4.54"
Scrapy = "==2.11.2"
alembic = "==1.13.3"
colorlog = "==6.9.0"
ipython = "==8.29.0"
price-parser = "0.3.4"
psycopg2-binary = "==2.9.10"
python = "^3.10"
scrapeops-scrapy = "0.5.6"
scrapy-fake-useragent = "1.4.4"
sentry-sdk = "==1.45.1"
[tool.poetry.dev-dependencies]
autopep8 = "==2.3.1"
flake8 = "==7.1.1"
mypy = "1.13.0"
pre-commit = "==3.8.0"
pylint = "==3.3.1"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
ignore_missing_imports = true
mypy_path = "burplist"
no_implicit_optional = true
no_implicit_reexport = true
show_error_codes = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
[tool.black]
line-length = 150
[tool.isort]
extra_standard_library = ["toml"]
line_length = 150
profile = "black"
[tool.semantic_release]
branch = "main"
build_command = "pip install poetry && poetry build"
upload_to_pypi = false
upload_to_release = true
version_variable = [
"burplist/__init__.py:__version__",
"pyproject.toml:version",
]