-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use PEP 660 python install method pyproject.toml
- Loading branch information
Showing
3 changed files
with
63 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
[project] | ||
name = "helpdesk" | ||
authors = [ | ||
{ name = "Frappe Technologies Pvt Ltd", email = "[email protected]" }, | ||
] | ||
description = "Open Source Customer Service Software" | ||
requires-python = ">=3.10" | ||
readme = "README.md" | ||
dynamic = ["version"] | ||
dependencies = [ | ||
# Core dependencies | ||
"textblob==0.18.0.post0", | ||
] | ||
|
||
[build-system] | ||
requires = ["flit_core >=3.4,<4"] | ||
build-backend = "flit_core.buildapi" | ||
|
||
[tool.bench.frappe-dependencies] | ||
frappe = ">=15.0.0,<16.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 | ||
] | ||
typing-modules = ["frappe.types.DF"] | ||
|
||
[tool.ruff.format] | ||
quote-style = "double" | ||
indent-style = "tab" | ||
docstring-code-format = true | ||
|
||
|
||
[project.urls] | ||
Homepage = "https://frappe.io/helpdesk" | ||
Repository = "https://github.com/frappe/helpdesk.git" | ||
"Bug Reports" = "https://github.com/frappe/helpdesk/issues" |
This file was deleted.
Oops, something went wrong.