-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
71 lines (64 loc) · 1.61 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
# NOTE: you have to use single-quoted strings in TOML for regular expressions.
# It's the equivalent of r-strings in Python. Multiline strings are treated as
# verbose regular expressions by Black. Use [ ] to denote a significant space
# character.
[tool.black]
line-length = 88
target-version = ['py310', 'py311']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| migrations
)/
'''
[tool.isort]
use_parentheses=true
multi_line_output=3
include_trailing_comma=true
line_length=79
known_first_party=['task_processor']
known_third_party=['django', 'rest_framework', 'saml2', 'drf_yasg2', 'pytest']
skip = ['migrations', 'flagsmith', '.venv']
[tool.poetry]
name = "flagsmith_task_processor"
version = "1.0.0"
description = "Task Processor plugin for Flagsmith application."
authors = ["Flagsmith <[email protected]>"]
readme = "readme.md"
include = [{ path = "migrations/sql/*", format = ["sdist", "wheel"] }]
packages = [{ include = "task_processor"}]
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
django-health-check = "~3.18.2"
backoff = "~2.2.1"
simplejson = "~3.19.1"
drf-yasg = "~1.21.6"
dj-database-url = "~0.5.0"
environs = "~9.2.0"
psycopg2-binary = "~2.9.5"
[tool.poetry.group.dev.dependencies]
django = "~4.2.13"
pre-commit = "~3.0.4"
flake8 = "~7.1.0"
pytest-mock = "~3.10.0"
pylint = "~2.16.2"
pep8 = "~1.7.1"
autopep8 = "~2.0.1"
pytest = "~7.2.1"
black = "~24.4.2"
pytest-django = "^4.8.0"
pytest-freezegun = "~0.4.2"
isort = "~5.13.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"