-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (40 loc) · 1023 Bytes
/
pyproject.toml
File metadata and controls
46 lines (40 loc) · 1023 Bytes
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
[tool.poetry]
name = "PlaceWork"
version = "0.0.1"
description = "PlaceWork - Free Workspaces"
authors = ["candidosouza <candidosouzza@gmail.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "3.10.*"
django = "^4.2.5"
python-dotenv = "^1.0.0"
dj-database-url = "^2.1.0"
psycopg2 = "^2.9.8"
pytest-django = "^4.5.2"
faker = "^19.6.2"
validate-docbr = "^1.10.0"
bcrypt = "^4.0.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.2"
pytest-cov = "^4.1.0"
taskipy = "^1.12.0"
blue = "^0.9.1"
ruff = "^0.0.291"
httpx = "^0.25.0"
isort = "^5.12.0"
[tool.ruff]
line-length = 79
exclude = ['.venv', 'node_modules', '.docker', 'setup']
[tool.isort]
profile = "black"
line_length = 79
# known_first_party = "placework"
[tool.pytest.ini_options]
pythonpath = "."
[tool.taskipy.tasks]
lint = 'ruff . && blue --check . --diff'
format = 'blue . && isort .'
run = 'python manage.py runserver 0.0.0.0:8000'
pre_test = 'task lint'
test = 'pytest -s -x --cov=placework -vv'
post_test = 'coverage xml && coverage html'