-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
61 lines (56 loc) · 1.17 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
[tool.poetry]
name = "flagsmith_common"
version = "1.4.2"
description = "A repository for including code that is required in multiple flagsmith repositories"
authors = ["Matthew Elwell <[email protected]>"]
readme = "README.md"
packages = [{ include = "common"}]
[tool.poetry.dependencies]
python = "^3.10"
django = "<5.0.0"
djangorestframework = "*"
drf-writable-nested = "*"
flagsmith-flag-engine = "*"
djangorestframework-recursive = "*"
[tool.poetry.group.dev.dependencies]
pre-commit = "*"
flake8 = "*"
black = "*"
isort = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
target-version = ['py311', 'py312']
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=['flagsmith','api','app','core','features','environments']
known_third_party=[
'django',
'rest_framework',
'saml2',
'drf_yasg2',
'pytest',
'rest_framework_recursive',
]
skip = ['migrations', '.venv']