-
-
Notifications
You must be signed in to change notification settings - Fork 629
/
Copy pathpyproject.toml
54 lines (44 loc) · 1.12 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
[tool.poetry]
name = "anthias"
version = "0.18.8"
description = "The world's most popular open source digital signage project."
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
[tool.poetry.group.dev-host.dependencies]
ruff = "^0.8.4"
[tool.poetry.group.docker-image-builder.dependencies]
click = '^8.1.7'
jinja2 = '^3.1.5'
pygit2 = '^1.15.1'
requests = '^2.32.3'
python-on-whales = '^0.73.0'
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
# Exclude files/directories
exclude = ["anthias_app/migrations/*.py"]
# Line length configuration
line-length = 79
# Python target version
target-version = "py39"
# Enable all rules by default
lint.select = [
"E", # pycodestyle
"F", # pyflakes
"W", # pycodestyle warnings
"I", # isort
"N", # pep8-naming
"B", # flake8-bugbear
"A", # flake8-builtins
]
# Ignore specific rules
lint.ignore = [
"N801", # Ignore class naming convention for API versioning throughout the codebase
"A002",
"A004",
]
[tool.ruff.lint.per-file-ignores]
"bin/migrate.py" = ["E501"]