-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
98 lines (87 loc) · 2.42 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[project]
name = "wagtail-localize-git"
description = "Wagtail Localize integration for Git-based translation services"
authors = [{name = "Karl Hobley", email = "[email protected]"}]
maintainers = [{name = "Dan Braghis", email="[email protected]"}]
readme = "README.md"
license = {file = "LICENSE"}
keywords = ["Wagtail", "Django", "content", "review"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Framework :: Wagtail",
"Framework :: Wagtail :: 5",
"Framework :: Wagtail :: 6",
]
dynamic = ["version"]
requires-python = ">=3.9"
dependencies = [
"Django>=4.2,<5.2",
"Wagtail>=5.2",
"wagtail-localize>=1.0",
"pygit2>=1.0,<2.0",
"gitpython>=3.0,<4.0",
"toml>=0.10,<0.11",
]
[project.optional-dependencies]
testing = [
"dj-database-url>=2.1.0,<3.0",
"freezegun>=1.4.0,<2.0",
"coverage>=7.0,<8.0",
]
[project.urls]
Source = "https://github.com/wagtail/wagtail-localize-git"
Changelog = "https://github.com/wagtail/wagtail-localize-git/blob/main/CHANGELOG.md"
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.module]
name = "wagtail_localize_git"
[tool.flit.sdist]
exclude = [
".*",
"*.db",
"*.json",
"*.ini",
"*.yaml",
"tests",
"CHANGELOG.md",
"testmanage.py",
]
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"DJ", # flake8-django
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"PGH", # pygrep-hooks
"S", # flake8-bandit
"SIM", # flake8-simplify
"W", # pycodestyle warnings
"YTT", # flake8-2020
"UP", # pyupgrade
"RUF100", # unused noqa
]
ignore = ["E501"]
fixable = ["C4", "E", "F", "I", "UP"]
[tool.ruff.lint.isort]
known-first-party = ["src", "wagtail_localize_git"]
lines-between-types = 1
lines-after-imports = 2