-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release/2.6: (24 commits) lint updats tox matrix fixes tox matrix updats tox updates tox config add flake8 config updates CI lint updates CI lint preparing release update tox updates tox.ini updates tox add missing pyproject.toml pep 621 updated RTD deps updated RTD deps updated RTD config updated RTD config ...
- Loading branch information
Showing
70 changed files
with
2,245 additions
and
1,277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[flake8] | ||
max-complexity = 12 | ||
max-line-length = 120 | ||
exclude = | ||
.*/ | ||
__pycache__ | ||
docs | ||
~build | ||
dist | ||
*.md | ||
|
||
per-file-ignores = | ||
src/**/migrations/*.py:E501 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Read the Docs configuration file for Sphinx projects | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Set the OS, Python version and other tools you might need | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.10" | ||
# You can also specify other tool versions: | ||
# nodejs: "20" | ||
# rust: "1.70" | ||
# golang: "1.20" | ||
|
||
# Build documentation in the "docs/" directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs | ||
# builder: "dirhtml" | ||
# Fail on all warnings to avoid broken references | ||
# fail_on_warning: true | ||
|
||
# Optionally build your docs in additional formats such as PDF and ePub | ||
# formats: | ||
# - epub | ||
|
||
# Optional but recommended, declare the Python requirements required | ||
# to build your documentation | ||
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html | ||
python: | ||
install: | ||
- requirements: docs/requirements.pip | ||
- method: pip | ||
path: . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
sphinx==3.5.2 | ||
django==3.1 | ||
sphinx | ||
django | ||
sphinx_issues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
[project] | ||
name = "django-concurrency" | ||
version = "2.6.0" | ||
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"} | ||
|
||
[project.optional-dependencies] | ||
dj4 = [ | ||
"django>=4.2,<5", | ||
] | ||
dj5 = [ | ||
"django>=5.1", | ||
] | ||
|
||
[tool.pdm] | ||
[[tool.pdm.source]] | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[tool.pdm.dev-dependencies] | ||
dev = [ | ||
"black>=24.8.0", | ||
"bump2version>=1.0.1", | ||
"check-manifest", | ||
"django-reversion", | ||
"django-webtest", | ||
"flake8", | ||
"isort", | ||
"mock", | ||
"pre-commit", | ||
"psycopg2-binary", | ||
"pytest>=8.3.3", | ||
"pytest-cov", | ||
"pytest-django", | ||
"pytest-echo", | ||
"sphinx", | ||
"sphinx-issues", | ||
"tox", | ||
"twine", | ||
] | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
[tool.black] | ||
line-length = 120 | ||
include = '\.pyi?$' | ||
exclude = ''' | ||
/( | ||
\.git | ||
| \.hg | ||
| \.mypy_cache | ||
| \.tox | ||
| \.venv | ||
| venv | ||
| _build | ||
| buck-out | ||
| build | ||
| dist | ||
| migrations | ||
| snapshots | ||
)/ | ||
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
__author__ = 'sax' | ||
__author__ = "sax" | ||
|
||
VERSION = __version__ = "2.5" | ||
NAME = 'django-concurrency' | ||
VERSION = __version__ = "2.5.0" | ||
NAME = "django-concurrency" |
Oops, something went wrong.