-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (50 loc) · 1.41 KB
/
pyproject.toml
File metadata and controls
55 lines (50 loc) · 1.41 KB
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
[project]
name = "italian_invoice"
authors = [
{ name = "Solede SA", email = "info@solede.com"}
]
description = "Gestione della Fatturazione Elettronica in Italia"
requires-python = ">=3.10"
readme = "README.md"
dynamic = ["version"]
dependencies = [
# "frappe~=15.0.0" # Installed and managed by bench.
"xmlschema>=3.0.2"
]
[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
# These dependencies are only installed when developer mode is enabled
[tool.bench.dev-dependencies]
# package_name = "~=1.1.0"
[tool.ruff]
line-length = 110
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
]
ignore = [
"B007", # unused-loop-control-variable
"B009", # get-attr-with-constant
"B010", # set-attr-with-constant
"E101", # mixed-spaces-and-tabs
"E402", # module-import-not-at-top-of-file
"E501", # line-too-long
"E722", # bare-except
"F401", # unused-import
"F403", # undefined-local-with-import-star
"F405", # undefined-local-with-import-star-usage
"UP035", # deprecated-import (typing.Dict -> dict)
"UP038", # non-pep604-isinstance
"W191", # tab-indentation (incompatibile con format.indent-style="tab")
]
[tool.ruff.format]
quote-style = "double"
indent-style = "tab"
docstring-code-format = true