forked from dylankiss/odoo-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
42 lines (38 loc) · 1.14 KB
/
pyproject.toml
File metadata and controls
42 lines (38 loc) · 1.14 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
[project]
name = "odoo-toolkit"
version = "1.1.0"
description = "This toolkit contains a few useful tools for Odoo development."
authors = [{ name = "Dylan Kiss", email = "dyki@odoo.com" }]
requires-python = "~=3.10"
readme = "README.md"
dependencies = [
"typer==0.15.4",
"polib>=1.2.0,<2",
"python-on-whales>=0.76.1,<0.77",
"gitpython>=3.1.44,<4",
"requests>=2.32.4",
]
[project.scripts]
otk = "odoo_toolkit.main:app"
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
preview = false
select = ["ALL"]
ignore = [
"A004", # builtin-import-shadowing
"D100", # undocumented-public-module
"D104", # undocumented-public-package
"D301", # escape-sequence-in-docstring
"E501", # line-too-long
"FBT001", # boolean-type-hint-positional-argument
"FBT002", # boolean-default-value-positional-argument
"PLR0913", # too-many-arguments
"S602", # subprocess-popen-with-shell-equals-true
"S603", # subprocess-without-shell-equals-true
"S607", # start-process-with-partial-path
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"