This repository has been archived by the owner on Aug 17, 2023. It is now read-only.
forked from jessemiller/HamlPy
-
Notifications
You must be signed in to change notification settings - Fork 14
/
pyproject.toml
71 lines (59 loc) · 1.57 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[tool.poetry]
name = "django-hamlpy"
version = "1.7.0"
description = "HAML like syntax for Django templates"
authors = ["Nyaruka <[email protected]>"]
readme = "README.md"
license = "MIT"
classifiers=[
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",
]
packages = [
{ include = "hamlpy" },
]
[tool.poetry.urls]
repository = "http://github.com/nyaruka/django-hamlpy"
[tool.poetry.dependencies]
python = "^3.9"
django = ">=3.2,<5.0"
regex = ">=2020.1.1"
[tool.poetry.dev-dependencies]
Markdown = "^3.4.1"
pytest = "^6.1.2"
pytest-cov = "^4.0.0"
Pygments = "^2.14.0"
Jinja2 = "^3.1.2"
black = "^23.1.0"
isort = "^5.11.0"
[tool.poetry.scripts]
hamlpy-watcher = "hamlpy.hamlpy_watcher:watch_folder"
[tool.poetry.group.dev.dependencies]
ruff = "^0.0.253"
[tool.black]
line-length = 119
[tool.ruff]
line-length = 120
select = ["E", "F", "W"]
ignore = ["E501", "F405"]
fix = true
exclude = ["./.tox/*", "./.venv/*", "./env/*", "*/migrations/*", "./build/*"]
[tool.isort]
multi_line_output = 3
force_grid_wrap = 0
line_length = 119
include_trailing_comma = true
combine_as_imports = true
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "DJANGO", "FIRSTPARTY", "LOCALFOLDER"]
known_django = ["django"]
[tool.coverage.run]
source = ["hamlpy"]
[tool.coverage.report]
omit = ["*/migrations/*", "*/tests*", "*__init__*", "*settings*"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"