(cherry picked from commit8afb7790de) (cherry picked from commit9eeedd8515) Signed-off-by: Akhil Narang <me@akhilnarang.dev>
73 lines
1.7 KiB
TOML
73 lines
1.7 KiB
TOML
[project]
|
|
name = "erpnext"
|
|
authors = [
|
|
{ name = "Frappe Technologies Pvt Ltd", email = "developers@frappe.io"}
|
|
]
|
|
description = "Open Source ERP"
|
|
requires-python = ">=3.10"
|
|
readme = "README.md"
|
|
dynamic = ["version"]
|
|
dependencies = [
|
|
# Core dependencies
|
|
"pycountry~=20.7.3",
|
|
"python-stdnum~=1.16",
|
|
"Unidecode~=1.2.0",
|
|
"redisearch~=2.1.0",
|
|
"rapidfuzz~=2.15.0",
|
|
"holidays~=0.28",
|
|
|
|
# integration dependencies
|
|
"gocardless-pro~=1.22.0",
|
|
"googlemaps",
|
|
"plaid-python~=7.2.1",
|
|
"python-youtube~=0.8.0",
|
|
"taxjar~=1.9.2",
|
|
"tweepy~=3.10.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["flit_core >=3.4,<4"]
|
|
build-backend = "flit_core.buildapi"
|
|
|
|
[tool.bench.dev-dependencies]
|
|
hypothesis = "~=6.31.0"
|
|
|
|
[tool.bench.frappe-dependencies]
|
|
frappe = ">=14.0.0,<15.0.0"
|
|
|
|
[tool.ruff]
|
|
line-length = 110
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"F",
|
|
"E",
|
|
"W",
|
|
"I",
|
|
"UP",
|
|
"B",
|
|
"RUF",
|
|
]
|
|
ignore = [
|
|
"B017", # assertRaises(Exception) - should be more specific
|
|
"B018", # useless expression, not assigned to anything
|
|
"B023", # function doesn't bind loop variable - will have last iteration's value
|
|
"B904", # raise inside except without from
|
|
"E101", # indentation contains mixed spaces and tabs
|
|
"E402", # module level import not at top of file
|
|
"E501", # line too long
|
|
"E741", # ambiguous variable name
|
|
"F401", # "unused" imports
|
|
"F403", # can't detect undefined names from * import
|
|
"F405", # can't detect undefined names from * import
|
|
"F722", # syntax error in forward type annotation
|
|
"W191", # indentation contains tabs
|
|
"RUF001", # string contains ambiguous unicode character
|
|
]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "double"
|
|
indent-style = "tab"
|
|
docstring-code-format = true
|