Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (78 loc) · 2.41 KB
/
Copy pathpyproject.toml
File metadata and controls
89 lines (78 loc) · 2.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[tool.poetry]
name = "backend"
version = "0.1.0"
description = ""
authors = []
package-mode = false
license = "MIT"
[tool.poetry.dependencies]
python = ">=3.12,<3.14"
Django = ">=5.2,<5.3"
djangorestframework = "^3.16"
djangorestframework-simplejwt = "^5.5"
gunicorn = "^23.0"
psycopg2-binary = "^2.9.10"
drf-spectacular = "^0.26.0"
django-tinymce = "^3.6.1"
python-dateutil = ">=2.4"
whitenoise = "^6.9.0"
osekit = "1.2.0"
#osekit = {path = "../OSEkit"}
graphene-django = "^3.2.3"
graphene-django-pagination = {url = "https://github.com/instruct-br/graphene-django-pagination/archive/master.zip"}
django-filter = ">=2"
graphene-django-optimizer = "^0.10.0"
django-graphene-auth = "^1.1.1"
django-seed = "^0.3.1"
djangorestframework-stubs = "^3.16.7"
#django-extension = {path = "../django-extension", develop = true}
django-extension = { url = "https://github.com/Project-OSmOSE/django-extension/archive/refs/tags/v1.0.0.tar.gz" }
#metadatax = {path = "../metadatax", develop=true}
metadatax = {url = "https://github.com/PAM-Standardization/metadatax/archive/refs/tags/v1.0.0.tar.gz"}
legacy-cgi = "^2.6.4"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.5"
coverage = { extras = ["toml"], version = "^6.3" }
black = "^22.10.0"
pylint = "3.3.7"
pylint-django = "2.6.1"
django-debug-toolbar = "^5.0"
faker = "^19.3.1"
freezegun = "^1.2.2"
django-seed = "^0.3.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
source = ["backend"]
branch = true
omit = ["backend/asgi.py", "backend/wsgi.py", "backend/settings/*", "backend/api/migrations/*", "**/__init__.py"]
[tool.coverage.report]
show_missing = true
[tool.pylint.messages_control]
disable = [
"too-many-ancestors",
"too-many-arguments",
"too-many-positional-arguments",
"too-many-branches",
"too-many-function-args",
"arguments-renamed",
"arguments-differ",
"missing-module-docstring",
"missing-class-docstring",
"missing-function-docstring",
"too-few-public-methods",
"redefined-builtin",
"unused-argument",
"no-member",
]
[tool.pylint.MASTER]
load-plugins = "pylint_django"
django-settings-module = "backend.settings"
[tool.pylint.MAIN]
ignore-paths = ["backend\\api\\migrations|backend/api/migrations", "backend\\osmosewebsite\\migrations|backend/osmosewebsite/migrations"]
[tool.pylint.FORMAT]
max-line-length = 120
good-names = ["pk"]
[tool.pylint.DESIGN]
max-locals = 20