forked from MagnusBook/social-insecurity
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
47 lines (40 loc) · 941 Bytes
/
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
[tool.poetry]
name = "social-insecurity"
version = "2.0.0"
description = "A website written in Flask for practicing patching security flaws and bugs"
authors = ["solbero <[email protected]>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
Flask = {extras = ["dotenv"], version = "^3.0.0"}
Flask-WTF = "^1.2.0"
pytest = "^8.0.0"
[tool.poetry.group.dev.dependencies]
djlint = "^1.34.0"
tox = "^4.0.0"
ruff = "^0.4.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py39, py310, py311, py312
[testenv]
skip_install = true
allowlist_externals = poetry
commands_pre = poetry install
commands = pytest {posargs}
"""
[tool.ruff]
line-length = 120
target-version = 'py39'
lint.select=["I"]
[tool.djlint]
indent = 2
max_line_length=120
format_css=true
format_js=true
profile="jinja"
extension="html.j2"