Skip to content

Commit

Permalink
add missing pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
saxix committed Jan 27, 2024
1 parent 8b233b9 commit b40d543
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ __pycache__
.testmondata
Pipfile.lock
poetry.lock
pyproject.toml
!pyproject.toml
.venv/
pdm.lock
54 changes: 54 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
[project]
name = "django-concurrency"
version = "2.5"
description = "Optimistic lock implementation for Django. Prevents users from doing concurrent editing"
authors = [
{name = "sax", email = "[email protected]"},
]
dependencies = []
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}

[tool.pdm]
[[tool.pdm.source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[tool.pdm.dev-dependencies]
dev = [
"black",
"bump2version>=1.0.1",
"check-manifest",
"django",
"django-reversion",
"django-webtest",
"flake8",
"isort",
"mock",
"pre-commit",
"psycopg2-binary",
"pytest",
"pytest-cov",
"pytest-django",
"pytest-echo",
"sphinx",
"sphinx-issues",
"tox",
"twine",
]

[tool.isort]
combine_as_imports = true
default_section = "THIRDPARTY"
include_trailing_comma = true
known_tests = "pytest,unittest,factory"
known_demo = "demo"
known_django = "django"
sections = "FUTURE,STDLIB,DJANGO,THIRDPARTY,TESTS,FIRSTPARTY,DEMO,LOCALFOLDER"
known_first_party = "etools_validator"
multi_line_output = 3
line_length = 120
balanced_wrapping = true
order_by_type = false

0 comments on commit b40d543

Please sign in to comment.