Skip to content

Commit b40d543

Browse files
committed
add missing pyproject.toml
1 parent 8b233b9 commit b40d543

File tree

2 files changed

+55
-1
lines changed

2 files changed

+55
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ __pycache__
2020
.testmondata
2121
Pipfile.lock
2222
poetry.lock
23-
pyproject.toml
23+
!pyproject.toml
2424
.venv/
2525
pdm.lock

pyproject.toml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[project]
2+
name = "django-concurrency"
3+
version = "2.5"
4+
description = "Optimistic lock implementation for Django. Prevents users from doing concurrent editing"
5+
authors = [
6+
{name = "sax", email = "[email protected]"},
7+
]
8+
dependencies = []
9+
requires-python = ">=3.10"
10+
readme = "README.md"
11+
license = {text = "MIT"}
12+
13+
[tool.pdm]
14+
[[tool.pdm.source]]
15+
url = "https://pypi.org/simple"
16+
verify_ssl = true
17+
name = "pypi"
18+
19+
[tool.pdm.dev-dependencies]
20+
dev = [
21+
"black",
22+
"bump2version>=1.0.1",
23+
"check-manifest",
24+
"django",
25+
"django-reversion",
26+
"django-webtest",
27+
"flake8",
28+
"isort",
29+
"mock",
30+
"pre-commit",
31+
"psycopg2-binary",
32+
"pytest",
33+
"pytest-cov",
34+
"pytest-django",
35+
"pytest-echo",
36+
"sphinx",
37+
"sphinx-issues",
38+
"tox",
39+
"twine",
40+
]
41+
42+
[tool.isort]
43+
combine_as_imports = true
44+
default_section = "THIRDPARTY"
45+
include_trailing_comma = true
46+
known_tests = "pytest,unittest,factory"
47+
known_demo = "demo"
48+
known_django = "django"
49+
sections = "FUTURE,STDLIB,DJANGO,THIRDPARTY,TESTS,FIRSTPARTY,DEMO,LOCALFOLDER"
50+
known_first_party = "etools_validator"
51+
multi_line_output = 3
52+
line_length = 120
53+
balanced_wrapping = true
54+
order_by_type = false

0 commit comments

Comments
 (0)